Any application which is use to detect tomcat memory leak problem
Hi Gurus, Is there any application which I may use to detect tomcat memory leak problem? Thank you in advance for any value input. Thanks & Regards. Get your new Email address! Grab the Email name you've always wanted before someone else does! http://mail.promotions.yahoo.com/newdomains/sg/ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Any application which is use to detect tomcat memory leak problem
Hello Nix Are you looking for a memory leak in your web application or in tomcat? Short answer is it's not easy. The garbage collection mechanism in the JVM will cleanup any objects that are no longer referenced. Therefore, you are only concerned with objects that remain referenced (which in an ideal world should be relatively few). To test if your app is indeed exponentially increasing, you could start the JVM with the -Xverbose:gc option and watch the output for a while. If not, a good (commercial) tool is JProbe http://www.quest.com/jprobe/memory-home.aspx Regards Tom On 23/06/2008, at 12:17 PM, Nix Hanwei wrote: Hi Gurus, Is there any application which I may use to detect tomcat memory leak problem? Thank you in advance for any value input. Thanks & Regards. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Any application which is use to detect tomcat memory leak problem
One of the things I had done in my past projects was to run a thread which periodically executes the freeMemory /totalMemory methods on Runtime class in JVM, this will at least tell you how the memory is utilised, but pinpointing the leak may need a commercial tool. -Sameer --- On Mon, 6/23/08, Nix Hanwei <[EMAIL PROTECTED]> wrote: > From: Nix Hanwei <[EMAIL PROTECTED]> > Subject: Any application which is use to detect tomcat memory leak problem > To: "Tomcat Users List" > Date: Monday, June 23, 2008, 9:47 AM > Hi Gurus, > > Is there any application which I may use to detect tomcat > memory leak problem? > > > Thank you in advance for any value input. > > Thanks & Regards. > > > > Get your new Email address! > Grab the Email name you've always wanted before > someone else does! > http://mail.promotions.yahoo.com/newdomains/sg/ > > > - > 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]