Alberto Corona schrieb:
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
Thanks a lot. This is really a helpful article.
My current workaround is to increase JVM memory...
gus
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 <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
_________________________________________________________________
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:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>