Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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] Sun, 11 October 2009 00:14 Go to next message
Bill Clark is currently offline Bill ClarkFriend
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: Sun, 11 October 2009 00:22]

Report message to a moderator

Re: Heap Dump from Solaris gcore jdk 1.4.2.11 [message #494935 is a reply to message #490804] Tue, 03 November 2009 10:25 Go to previous message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 149
Registered: July 2009
Senior 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:
  


Current Time: Fri Nov 21 02:38:45 GMT 2014

Powered by FUDForum. Page generated in 0.02209 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software