struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alberto Corona <acor...@objectwave.com>
Subject Re: [OT]: Finding memory leaks
Date Wed, 27 Nov 2002 00:20:39 GMT
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 <gusweb@gmx.net>
>> Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>> 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:   
>> <mailto:struts-user-unsubscribe@jakarta.apache.org>
>> For additional commands, e-mail: 
>> <mailto:struts-user-help@jakarta.apache.org>
>
>
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
> http://join.msn.com/?page=features/featuredemail
>
>
> -- 
> To unsubscribe, e-mail:   
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:struts-user-help@jakarta.apache.org>





--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message