Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 16304 invoked from network); 27 Nov 2002 00:24:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 27 Nov 2002 00:24:28 -0000 Received: (qmail 27336 invoked by uid 97); 27 Nov 2002 00:25:21 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 27320 invoked by uid 97); 27 Nov 2002 00:25:20 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 27307 invoked by uid 98); 27 Nov 2002 00:25:20 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3DE40FD7.4030402@objectwave.com> Date: Tue, 26 Nov 2002 18:20:39 -0600 From: Alberto Corona User-Agent: Mozilla/5.0 (X11; U; Linux sparc64; en-US; rv:0.9.9) Gecko/20020701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: [OT]: Finding memory leaks References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Nov 2002 00:20:36.0416 (UTC) FILETIME=[CEAC1C00:01C295AA] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You can use HPROF to profile your JVM. Take a look at this article whcih explains how to diagnose memory leak problems using hprof http://www.javaworld.com/javaworld/jw-12-2001/jw-1207-hprof.html Alberto Corona VP Of Consulting Services ObjectWave Corp. 312-269-0111x129 David Graham wrote: > Search google for profiling tools. You're probably holding onto old > objects in a Collection so they never get garbage collected. You're > probably not doing native calls so this is the most likely reason you > run out of memory. > > David > > > > > > >> From: gus >> Reply-To: "Struts Users Mailing List" >> To: struts-user@jakarta.apache.org >> Subject: OT: Finding memory leaks >> Date: Tue, 26 Nov 2002 23:18:44 +0100 >> >> Hi! >> >> This is a little off topic: >> I just wrote a struts app (Tomcat 4.1.12, Struts 1.1b2, Tiles, JDK >> 1.4.0_01, Win2K) that unfortunately crashes Tomcat after a while with >> an OutOfMemory Exception. So I assume my app has a memory leak. >> >> Does anybody have a hint on how to find memory leaks in a web app? >> >> Thanks in advance >> gus >> >> >> -- >> To unsubscribe, e-mail: >> >> For additional commands, e-mail: >> > > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: