Need Help Diagnosing a Memory Leak
Hi,
I'm running RedHat 9.0 with 512M RAM. On this box, I run Tomcat 5.019, Cocoon 2.1.4, and Java 1.4.2_04. Cocoon is a servlet running within Tomcat.
When I start my machine, about 104M of the RAM is used when I cat meminfo from /proc.
When I start Tomcat (and thus Cocoon, Java), the meminfo jumps up to about 400M and continues to rise. Eventually, it reaches my RAM limit and Tomcat reports that Cocoon reports an out of memory error.
I need to see what processes are using what amounts of memory and be able to track it over time to see who the culprit is.
What tools would best suit my needs?
Thanks.
|