Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

heap size

Geoff Peters

2003-07-23


Yoav - Where do you specify heap size? I understand it is a parameter of the java command, but is in a Tomcat startup script somewhere? Or do I just execute it at the command line?

-----Original Message-----
From: Shapira, Yoav [mailto:Yoav.Shapira@(protected)]
Sent: Wednesday, July 23, 2003 9:55 AM
To: Tomcat Users List
Subject: RE: config help



Howdy,
Give at much memory to the heap as your server hardware will allow (-Xmx
java option). I guess Windows doesn't have a ulimit-equivalent so you
probably don't need to worry about that.

Remove all unneeded connectors, valves, services from server.xml.
Remove all unneeded webapps (examples, docs, etc.) from tomcat.

If you're using a logging system that allows this configuration, turn
off debug-level statements.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Geoff Peters [mailto:Geoff@(protected)]
>Sent: Wednesday, July 23, 2003 7:39 AM
>To: tomcat-user@(protected)
>Subject: config help
>
>Hi - I am currently in the process of deploying a web app using Tomcat
>4.1.18, MySQL 3.23 on a Win2K Server. The app will be used heavily for
a
>period of 3 - 4 hours, (probably a couple of thousand hits per minute),
>then never used again.
>
>I am wondering what exactly I should do to enhance performace - other
than
>some changes recommended to the server.xml file (i.e. setting debug to
>zero), I am not 100% sure what some of the other changes will do,
>specifically min and max processors, and other settings. Can someone
please
>give me some pointers as to what I can so to maximize performance over
this
>3-4 hour period??
>
>Application is a series of MySQL based reports (all servlets),
containing
>several select statements and using the MySQL JDBC driver.
>
>Thanks for any advice!
>
>Geoff
>
>Geoff Peters, SCJP        Phone : (441) 296-9640
>Applications Developer     Fax   : (441) 292-1509
>Logic Communications       E-mail : geoff@(protected)
>12 Par-La-Ville Road       WWW   : http://www.logic.bm
>Hamilton, Bermuda HM JX
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)




This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.