tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Lin <>
Subject Re: HELP!! -Profiling memory leaks with Tomcat ??
Date Thu, 29 Apr 2004 14:29:37 GMT
the easiest way is to use a combination of OptimizeIt and JMeter.
start tomcat with OptimizeIt and then use JMeter to simulate load.
you should see what's happening pretty quickly.

Yoav <> wrote:Hiya All,

Yes, I've searched the list archives, couldn't find a solution for this one:

We have a production system:
Solaris 8 running JDK 1.4.2_02 w/ Apache Tomcat/4.1.29-LE-jdk14 + 
It is running on a remote server hosted on the backbone, serving hundreds of
JSP and servlet files.
As hits arrive the tomcat process VM size keeps growing gradually. (Although
sometimes the java process VM goes down by few MB)
It seems some code among the hundreds of JSP files is leaking...
It also seems to be something some of the clients do, so I can't run the
webapp locally and try and simulate millions of hits on various forms :(

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

Either we're missing the point here on the Jmeter or we're lacking the right
analysis tool. Most solutions offered on the net require that you run the
webapp *inside* the profiler :(

What's the best memory profiling tool for this situation? 
Money is no consideration, any advise appreciated..



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

Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message