全部博文(1015)
分类: Java
2015-02-03 14:16:07
原文地址:如何查看javacore和heapdump文件 作者:liubird
一。查看javacore文件
1.下载ThreadDumpAnalyser,graphviz,svgviewer
ThreadDumpAnalyser:
https://www.ibm.com/developerworks/mydeveloperworks/groups/service/html/communityview?communityUuid=2245aa39-fa5c-4475-b891-14c205f7333c
2.运行runall.bat javacore.txt,会产生三个文件dumps.xml,locktree1.svg,sidebyside.html
二。查看heapdump文件
1.从IBM网站下载ha433包,释放,执行ha433.jar文件
IBM HeapAnalyzer:
https://www.ibm.com/developerworks/mydeveloperworks/groups/service/html/communityview?communityUuid=4544bafe-c7a2-455f-9d43-eb866ea60091
2.在ha433窗口打开heapdump.phd,从中会显示分析结果