[英]JHAT cannot analyze a memory dump
我有一个内存转储文件和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文件不完整或已损坏?
我在用
我的tomcat中的-XX:+HeapDumpOnOutOfMemoryError"
选项。
我刚用自己的堆转储遇到了同样的问题。
NullPointerException
如果在转储堆时没有足够的磁盘空间,则会发生这种情况,因此该文件确实不完整/已损坏。
http://forums.oracle.com/forums/thread.jspa?threadID=1175621&tstart=135
我今天也有同样的问题。 为了澄清,我使用的选项heap=sites
与内存转储不同。 我也从jhat
和jvisualvm
得到了相同的消息。 jhat
可能不支持读取heap=sites
模式创建的HPROF
文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.