VisualVM - Invalid Kernel Dump

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

When I try to add this file to VisualVM, it tells me that the file is not a valid core dump.

However, I can run jhat for this dump file without any problems.

any ideas why?

+4
source share
2 answers

A heap dump is not a core dump. So you should open your .hprof file as a bunch of dump in VisualVM.

+3
source

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

Follow these steps:

  • Go to File > Download ...
  • Select file format: Heap dumps (* .hprof, *. *)
  • Select a file and click "Open."
+3
source

All Articles