开发者

VisualVM - not a valid core dump

I have .hprof heap dump generated from JVM OutOfMemory (JDK 1.5 version).

When I try to add this file in VisualVM, it tells me fil开发者_如何学Goe is not a valid core dump.

However from I'm able to run jhat for this dump file without any issue.

any ideas why ?


The file you are trying to open is a Head Dump not a Core Dump.

Follow this steps:

  1. Go to File > Load...
  2. Select the File Format: as Heap Dumps (*.hprof, *.*)
  3. Choose your file and click on Open.


Heap dump is not a core dump. So you have to open your .hprof file as a heap dump in VisualVM.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜