Reputation: 411
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 ?
Upvotes: 15
Views: 7553
Reputation: 2446
The file you are trying to open is a Head Dump not a Core Dump.
Follow this steps:
Upvotes: 19
Reputation: 6981
Heap dump is not a core dump. So you have to open your .hprof file as a heap dump in VisualVM.
Upvotes: 6