10

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

我已经尝试了两个菜单选项(文件>打开堆转储)和(文件>打开文件)

4

2 回答 2

24

您必须安装 DTJF 才能读取 IBM 文件。

http://wiki.eclipse.org/MemoryAnalyzer#System_Dumps_and_Heap_Dumps_from_IBM_Virtual_Machines

Eclipse 下载站点位于此处的底部:

http://www.ibm.com/developerworks/java/jdk/tools/dtfj.html

于 2014-09-04T18:05:17.993 回答
0

eclipse 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

于 2019-10-16T06:40:27.567 回答