分类: Java
2012-05-31 09:19:58
一。查看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,从中会显示分析结果