Can I compare hprof/jmap dumps with VisualVM?

skiphoppy picture skiphoppy · Aug 14, 2009 · Viewed 7.5k times · Source

VisualVM crashes when I try to profile our application with it, but if I could load the jmap memory dumps I've done from our application into VisualVM, I could probably get the answers I need without having to attach VisualVM to our app while it is running.

So, is there a way to do this?

Answer

John Smithers picture John Smithers · Aug 31, 2009

Open VisualVM, click File -> Load.. and pick your jmap file.

If it is not loaded, I guess there is a problem with your file.