Eclipse Memory Analyzer文档说它可以打开IBM便携式堆转储文件(* .phd):
http://help.eclipse.org/luna/index.jsp?topic=/org.eclipse.mat.ui.help/welcome.html
但是,当我尝试打开一个时,我得到了错误:
'heapdump.xxx.phd'. Check the error log for further details.
Not a HPROF heap dump (java.io.IOException)
Not a HPROF heap dump
我已尝试过两个菜单选项(文件>打开堆转储)和(文件>打开文件)
答案 0 :(得分:20)
您必须安装DTJF才能读取IBM文件。
http://wiki.eclipse.org/MemoryAnalyzer#System_Dumps_and_Heap_Dumps_from_IBM_Virtual_Machines
Eclipse下载站点位于底部:
答案 1 :(得分:0)
日食MemoryAnalyzer引发异常:
An internal error occurred during: "Parsing heap dump from 'D:\XXXX.phd'".
int is not an array
所以我必须使用IBM HeapAnalyzer: http://public.dhe.ibm.com/software/websphere/appserv/support/tools/HeapAnalyzer