Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 57590 invoked from network); 12 Nov 2010 16:20:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Nov 2010 16:20:07 -0000 Received: (qmail 23449 invoked by uid 500); 12 Nov 2010 16:20:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23270 invoked by uid 500); 12 Nov 2010 16:20:34 -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 23261 invoked by uid 99); 12 Nov 2010 16:20:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Nov 2010 16:20:34 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [76.13.13.45] (HELO smtp106.prem.mail.ac4.yahoo.com) (76.13.13.45) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 12 Nov 2010 16:20:28 +0000 Received: (qmail 41980 invoked from network); 12 Nov 2010 16:20:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:Content-Language; b=2C1Dv8cHEiNU0V20exyZy1NjG5RYWABiDja1rVSXv7fRYGD2r84fryTFSncybg23tFLMvkFbgAd1ObfAxSFE6IwTEhvBLnKAYbHGJwTWBmKDRsrtw2uhwgL6hlB34y59gI+mCfqtlYyCYwscY7HGxuWeP4r+/dQtp1zNGNSW77Q= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289578807; bh=pqBxk6ZxUJpq/oKo6GEFEVd4Wus2BY4CRAR4w+6u96M=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:Content-Language; b=O92bISV6YHX+Kt1cBfJ1kwSLHfzuqkJXLMgoMh/MVlJJR2aOl74ghl0GTDE4xvai3XeOKMWPixdfiqFtml9EHVRK7OL8VjwszQKMp5FXCHsJpQjJOu/rxFsKOpwtLeGv4sVqEpI+kgTmZt1Guw7Nm6ky45e5o+zyQj5GEicp0p4= Received: from BBW7 (bbprefix-mail@190.233.215.101 with login) by smtp106.prem.mail.ac4.yahoo.com with SMTP; 12 Nov 2010 08:20:06 -0800 PST X-Yahoo-SMTP: tozTPAqswBADGlZnplBDlcm0Dpndo4ZqE94JOFM- X-YMail-OSG: da93U08VM1mk5QRVtv7viLFpmSMs9LS02Snw5KXJG_La.tq KybXwMzi9nP9mb0DpCMOe.VFCXfsMHafZKiPt_yzQbQA0zYT.hxjTNjLa39S cHTiFELHSrJZOttm.mkAN9j_I6LO17rlBPHUOg1VCpLFo60SnLFWKsOzxqCc QU9cPsnX3bYwyPKN_e3eI9mEaARBufmgvMIY7topJopjCltq3MCVdhG_xPMa TpRxk2rG25eRG9FsFfaqSqz32.y1jJTz1LCVFVtgDIl.y3qHy2q0WPx6t_tx _UVHY_2p4Efm0dFHOpefY4Rf7X87psBdYhE2bQYI3WCiekSsW0aSxZMB6awx lzA-- X-Yahoo-Newman-Property: ymail-3 From: "Brian" To: "'Tomcat Users List'" References: <014f01cb81d1$d3460340$79d209c0$@yahoo.com> <4CDC4C99.2090504@pidster.com> <01c801cb822e$1f0be1d0$5d23a570$@yahoo.com> <4CDCFF7E.4010104@pidster.com> In-Reply-To: <4CDCFF7E.4010104@pidster.com> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses? Date: Fri, 12 Nov 2010 11:19:58 -0500 Message-ID: <020801cb8285$74181e30$5c485a90$@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQKW4xfE0ZIreY1yEiORcXvdSO2x1QL9beBIApl8SaQAhnKkypGmWUkw Content-Language: en-us Great advice, thanks!!!! I'm using it right now, and I'm also using www.yourkit.com as a trial. My problem is in the "Tenured/Gen" area. There is where most of the RAM is getting used. Now I need to fin out what "Tenured/Gen" is about.... > -----Original Message----- > From: Pid [mailto:pid@pidster.com] > Sent: Friday, November 12, 2010 03:49 AM > To: Tomcat Users List > Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses? > > On 12/11/2010 05:54, Brian wrote: > > Hi Pid, > > > > I did it, but shows no results. > > Anyway, it was nice to learn about Jconsole. > > > > Now I wonder what is the tool I could use to inspect the objets inside > > my app, and see which ones are using all the memory. > > Try VisualVM, another JDK6 tool, but a more recent version is available: > > http://visualvm.dev.java.net/ > > There are extra plugins available from the Tools menu. > > You can use profiling on local JVM processes to see which classes are using > memory, CPU time. Or take a series of heap dump and import, examine them. > > > p > > > >> -----Original Message----- > >> From: Pid [mailto:pid@pidster.com] > >> Sent: Thursday, November 11, 2010 03:06 PM > >> To: Tomcat Users List > >> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses? > >> > >> On 11/11/2010 18:54, Brian wrote: > >>> I don't think my app is taking all this RAM, because when I restart > >>> it, the RAM usage doesn't go down. It does only if I restart Tomcat > >>> itself, instead of my app running there. > >> > >> Yes, this is a classic sign of a problem with the app. > >> > >> Reboot Tomcat, restart your app a couple of times (this bit is important). > >> > >> Connect to the Tomcat instance using JConsole, navigate the MBeans, > >> to > > Catalina > >>> Hosts > (your hostname), then select the Operations tab, under which > > you'll > >> see a button called "findReloadContextMemoryLeaks". > >> > >> Push the button. > >> > >> It will return a list of app names if Tomcat can detect ones with > >> memory > > leaks. > >> > >> NB No results doesn't necessarily mean your app isn't leaking. > >> > >> > >> p > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org