tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: HELP!! -Profiling memory leaks with Tomcat ??
Date Thu, 29 Apr 2004 14:00:53 GMT

Interesting name ;)  Joe?  Yoav?  A nickname?

>As hits arrive the tomcat process VM size keeps growing gradually.

This is expected if the load keeps increasing.

>It also seems to be something some of the clients do, so I can't run
>webapp locally and try and simulate millions of hits on various forms

Why not?  Setup tomcat and your webapp locally.  Run it inside a
profiler, such as OptimizeIt (especially since you said money is no
problem).  Then hit the profiled instance with a JMeter script to
simulate as many requests as you need for the leak to appear.  If you
can't get the problem to appear under these conditions, then we'll have
to think of something else ;)

>We tried running with -Xrunhprof and tried to analyze the dump with hp
>Jmeter - but It couldn't give us a clue  :S

Xrunhprof's output is tough to decipher.

There are also other profilers, some of which are setup for more remote
work, so you might want to check them out:

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message