http://docs.oracle.com/javase/7/docs/technotes/samples/hprof.html