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 allocation and garbage collection.

See
http://java.sun.com/developer/technicalArticles/Programming/HPROF.html


En l'instant précis du 04/06/07 11:27, Jacob Rhoden s'exprimait en ces
termes:
> 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 useful on the
> Sun site. Only a few things that reveal you have to type a kill -QUITE
> <tomcat_proc>, however that doesnt seem to do anything (maybe it is
> putting a heap file somewhere I dont know about).
>
> Best Regards,
> Jacob
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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