VisualVM - not a valid core dump
Asked Answered
B

2

15

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 file is not a valid core dump.

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

any ideas why ?

Brownnose answered 17/8, 2011 at 15:54 Comment(0)
B
19

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.
Budde answered 13/6, 2016 at 13:39 Comment(0)
V
6

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

Velleman answered 17/8, 2011 at 18:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.