Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read heap dump file which is created by jconsole?

I performed a heap dump manually by invoking the com.sun.management.HotSpotDiagnostic MXBean's dumpHeap operation in jconsole. So I got a dump file.

My question: Can jconsole read the dump file? If not, which tool can read it? Thanks!

EDIT: Now I know jconsole doesn't provide read feature, I am wondering reason why jconsole only writes dump file without read feature. (This is not my question, I am just curoius about it)

like image 528
卢声远 Shengyuan Lu Avatar asked Aug 28 '11 05:08

卢声远 Shengyuan Lu


1 Answers

I found an Eclipse plugin Memory Analyzer to read the dump file by myself. Other tools are still welcome.

like image 166
卢声远 Shengyuan Lu Avatar answered Sep 28 '22 08:09

卢声远 Shengyuan Lu