Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 55232 invoked from network); 4 Jun 2007 09:41:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2007 09:41:13 -0000 Received: (qmail 67657 invoked by uid 500); 4 Jun 2007 09:41:03 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 67626 invoked by uid 500); 4 Jun 2007 09:41:02 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 67609 invoked by uid 99); 4 Jun 2007 09:41:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 02:41:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of delbd+jakarta@oma.be designates 193.190.231.71 as permitted sender) Received: from [193.190.231.71] (HELO bonnie.oma.be) (193.190.231.71) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 02:40:57 -0700 Received: from [193.190.249.120] (bonnie.oma.be [193.190.231.71]) by bonnie.oma.be (8.11.1 (Revision 1.5) /8.11.1) with ESMTP id l549eZQ10684 for ; Mon, 4 Jun 2007 09:40:35 GMT Message-ID: <4663DE4E.5020400@oma.be> Date: Mon, 04 Jun 2007 11:41:34 +0200 From: David Delbecq User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Track down which app has memory leak. References: <4663C599.3010304@rhoden.id.au> <4663C80A.2080204@oma.be> <4663DAFF.8010804@rhoden.id.au> In-Reply-To: <4663DAFF.8010804@rhoden.id.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org 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 > , 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: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org