Check Eclipse Memory Analyzer Tool www.eclipse.org/mat/. This is
alternate to JMAP, but it can parse the hprof file faster and have a
very visual GUI.
Thanks
Suren
-Original Message-
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 20, 2008 4:40 PM
To: Tomcat
OOPS It's alternate to JHAT and not JMAP.
Suren
-Original Message-
From: Surendrakumar Viswanathan -X (suviswan - HCL at Cisco)
Sent: Monday, September 22, 2008 3:25 PM
To: 'Tomcat Users List'
Subject: RE: jstack and Tomcat 6 on Windows
Check Eclipse Memory Analyzer Tool
Hi
Add -XX:+HeapDumpOnOutOfMemoryError option to you JVM parameter. It
will dump the heap (in hprof format) on OOM. You can take the hprof file
and then analyze using Eclipse MAT (Memory Analyzer tool). This will
give you information on which objects are getting used most. Based on
that you
Also make sure GC is not an issue. If the occurrence is random and
there is no lock in threads / database , then GC is usually the cause.
You can enable JMX and monitor it using Jconsole.
Cheers
Suren
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Monday,