Hi,
In a tomcat instance (6.0.13) with multiple apps, how do can I easily
track down which app has a memory leak. For example, can I just get a
dump of all objects and grep the output (i relize there are a lot but I
am not afraid of that!), or do I have to resort to installing and
learning
Java comes with a profiling tools available that dump information on a
text file upon exist. Look at sun web site for docs about profiling. You
jun then have to set the appropriate parameters to your CATALINA_OPTS
En l'instant précis du 04/06/07 09:56, Jacob Rhoden s'exprimait en ces
termes:
Hi,
David Delbecq wrote:
Java comes with a profiling tools available that dump information on a
text file upon exist. Look at sun web site for docs about profiling. You
jun then have to set the appropriate parameters to your CATALINA_OPTS
Hi, Thanks for your reply however I cant find anything
Hmm i'm not sure whether it can track memory leak or not, since i'm not
a frequent user of it, but you can try JMeter from Apache:
http://jakarta.apache.org/jmeter/
Its testing and monitoring module helps me a lot though...
HTH
FooShyn
Jacob Rhoden wrote:
David Delbecq wrote:
Java comes
Add this (java 1.5) to your CATALINA_OPTS
-agentlib:hprof=heap=dump
From doc:
This option causes the greatest amount of memory to be used because it
stores details on every object allocated, it can also impact the
application performance due to the data gathering (stack traces) on
object
It tracks performances under workload, not memory leaks. To track and
locate memory leak, you need profiling tools or be able to load/unload
several time all modules separately.
En l'instant précis du 04/06/07 11:49, Foo Shyn s'exprimait en ces termes:
Hmm i'm not sure whether it can track
IC, Thanx for clearing that out :)
FooShyn
David Delbecq wrote:
It tracks performances under workload, not memory leaks. To track and
locate memory leak, you need profiling tools or be able to load/unload
several time all modules separately.
En l'instant précis du 04/06/07 11:49, Foo Shyn