【发布时间】:2011-05-30 16:58:41
【问题描述】:
我有一个内存转储文件,JHAT 给出以下消息,我无法分析任何内容(因为没有显示数据。
Resolving 0 objects...
WARNING: hprof file does not include java.lang.Class!
WARNING: hprof file does not include java.lang.String!
WARNING: hprof file does not include java.lang.ClassLoader!
这是否意味着 hprof 文件不完整或损坏?
我正在使用-XX:+HeapDumpOnOutOfMemoryError"
我的tomcat中的选项。
【问题讨论】:
-
您是否尝试过使用另一个分析器(例如 YourKit)打开此转储?
-
yourkit 不是免费的,买不起。
-
YourKit 有一个试用版,您可以使用 30 天(左右)。先试试吧。
标签: java tomcat out-of-memory jhat