jmap -dump:live,format=b,file=heapdump PID http://docs.oracle.com/javase/7/docs/technotes/tools/share/jmap.html