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 in an ideal world should be relatively few).

To test if your app is indeed exponentially increasing, you could start the JVM with the -Xverbose:gc option and watch the output for a while.

If not, a good (commercial) tool is JProbe

http://www.quest.com/jprobe/memory-home.aspx

Regards
Tom

On 23/06/2008, at 12:17 PM, Nix Hanwei wrote:

Hi Gurus,

Is there any application which I may use to detect tomcat memory leak problem?


Thank you in advance for any value input.

Thanks & Regards.

---------------------------------------------------------------------
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