> From: Michael Simmons [mailto:[EMAIL PROTECTED]
> Subject: RE: JMX Perform GC TOMCAT 5.5.23
>
> Allocating more memory to the JVM isn't always best.
> Although it means the GC runs less often it causes it to take
> longer to run. Ie large pauses.

Another myth that won't die.  Although it was true in some pre-HotSpot JVMs 
that GC time was proportional to heap size, that has not been the case for some 
time.  Rather, GC time in a modern JVM depends almost entirely on the number 
and size of live objects at the time of the collection.

Regardless, make sure the maximum heap plus all the other process space (for 
all processes) and whatever the kernel needs doesn't exceed the RAM on the 
system; swapping during a GC is something you don't want to see.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to