One of the things I had done in my past projects was to run a thread which
periodically executes the freeMemory /totalMemory methods on Runtime class in
JVM, this will at least tell you how the memory is utilised, but pinpointing
the leak may need a commercial tool.
-Sameer
--- On Mon, 6/23/08
Hello Nix
Are you looking for a memory leak in your web application or in tomcat?
Short answer is it's not easy.
The garbage collection mechanism in the JVM will cleanup any objects
that are no longer referenced. Therefore, you are only concerned with
objects that remain referenced (which