Home » Eclipse Projects » Memory Analyzer (MAT) » Heap Dump from Solaris gcore jdk 1.4.2.11 (Heap Dump from Solaris gcore jdk 1.4.2.11)
Heap Dump from Solaris gcore jdk 1.4.2.11 [message #490804] Sat, 10 October 2009 20:14 Go to next message
Bill Clark  is currently offline Bill Clark
Messages: 1
Registered: October 2009
Junior Member
Is it possible to convert a solaris core dump of a Weblogic 8.1 managed server process running with JDK 1.4.2-11 into a heap map that can be read by MAT? This jdk does not support the -XX:+HeapDumpOnOutOfMemory option and attaching jmap to the running pid takes too long. Quicker to use gcore to create a core dump file and then run some tool against that to convert to a heap dump.

Grateful for any suggestions on how to proceed.

Thanks in advance.
Bill

[Updated on: Sat, 10 October 2009 20:22]

Re: Heap Dump from Solaris gcore jdk 1.4.2.11 [message #494935 is a reply to message #490804 ] Tue, 03 November 2009 05:25 Go to previous message
Krum Tsvetkov  is currently offline Krum Tsvetkov
Messages: 26
Registered: July 2009
Junior Member
I just googled a little bit. There seems to be some way to use jmap on a core file. May be this would be the answer for you. However, I never tried it myself...

Should be something like
jmap -heap:format=b java corefile

here a description (but for java 6)
http://java.sun.com/javase/6/webnotes/trouble/other/matrix6- Unix.html

Looking at some bugs, this should be also available in 1.4.something
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6494472

Hope this helps.
Krum
Previous Topic:File monitoring tool
Next Topic:using "dominatorof" in query
Goto Forum: