views:

641

answers:

2

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?

A: 

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

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

John Smithers
+2  A: 

MAT ( http://www.eclipse.org/mat/ ) is useful for comparing jmap/hprof files. Try the dominator tree if you have a memory leak.

leonm
Absolutely, yes. MAT is _the_ tool for memory dump analysis on Java.
Boris Terzic