RE: how to generate java heap dump from tomcat 5.0.27

2007-06-21 Thread Guan Yu
PROTECTED] To: users@tomcat.apache.org Subject: Re: how to generate java heap dump from tomcat 5.0.27 I use the same method as you except the fact that all java options are within a file and I set the JAVA_OPTS to -Xoptionsfile= Le 21/06/2007 05:48, Guan Yu a écrit : i need to generate

how to generate java heap dump from tomcat 5.0.27

2007-06-20 Thread Guan Yu
i need to generate java heap dump to trace memory leak in our web application. We are using tomcat 5.0.27. I added -agentlib:hprof=heap=dump,format=b,file=D:/java.hprof to Java Options using Configure Tomcat. Is this the correct method? How do I continue from here?

Re: how to generate java heap dump from tomcat 5.0.27

2007-06-20 Thread Phi-Long LE
I use the same method as you except the fact that all java options are within a file and I set the JAVA_OPTS to -Xoptionsfile= Le 21/06/2007 05:48, Guan Yu a écrit : i need to generate java heap dump to trace memory leak in our web application. We are using tomcat 5.0.27. I added