> From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
> Subject: RE: Tomcat memory settings
> 
> I have both values set to 512MB.

That's actually kind of small for this day and age, even on a 32-bit system.

> Looking at the log files, the OOME appears in the logs after long
> periods of time.

Another indication (but not proof) that it's a memory leak in your webapp.

> somewhere in between there will be a OOME message in the logs.
> The webapp still works though.

It's unusual that things keep working after an OOME.  Try setting 
-XX:+HeapDumpOnOutOfMemoryError; this will produce a file that you can analyze 
with jhat (part of JDK6) or other tools to see just what's consuming the space.

You can also use JVisualVM (again part of JDK6) to take periodic snapshots of 
the heap and monitor the heap usage in real-time, without significant impact on 
the performance of the monitored system.  If you have the CPU headroom, you can 
also use a heap profiler to track activity; this will capture not only the 
objects in the heap, but also the call stacks at the time of object creation.

 - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to