File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Performance and the fly likes Heap Dump in jdk1.4.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Heap Dump in jdk1.4.2" Watch "Heap Dump in jdk1.4.2" New topic

Heap Dump in jdk1.4.2

Deepak Rao
Ranch Hand

Joined: Jan 24, 2012
Posts: 31


I am using weblogic integration platform running jdk1.4.2_11. And we are facing OOM issues.
Hence I want an heap dump to analyse.
But the option -XX:-HeapDumpOnOutOfMemoryError does not work. Nor does HAT.
Tried to generate a heap with JMAP. But the heap dump does not open in HAT/MAT,IBM HA etc.

No monitors work due to lack of JMX. Kindly help as how I can get a proper heap dump.

Chris Hurst
Ranch Hand

Joined: Oct 26, 2003
Posts: 407

Load the heap dump in visual VM (supplied with newer JDK should load the older hprof) or there is a nice Eclipse plugin MAT with leak suspects report.

Might be worth looking for the leak with a newer JVM (doesn't mean you have to ship it).

"Eagles may soar but weasels don't get sucked into jet engines" SCJP 1.6, SCWCD 1.4, SCJD 1.5,SCBCD 5
Deepak Rao
Ranch Hand

Joined: Jan 24, 2012
Posts: 31

Hi chris.

I Noticed by studying the GC logs that the problem was the Permgen maxing out.
On profiling I noticed that the CGLib generated classes for hibernate required more permgen space.

I increased the permgen , and this seems to have subsided the problem.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Heap Dump in jdk1.4.2
Similar Threads
Java Heap dump Size and Resident Memory(RES) Size
JBoss 4.0.4 is slow down in every 20 days
Equivalent of Control Break in websphere 3.5
Best Heap Dump analysis tool for Sun JVM 1.5.0
What are these JVM Errors??