How do I analyze a .hprof file?

I have a production server running with the following flag: –XX:+HeapDumpOnOutOfMemoryError

Last night it generated a java-38942.hprof file when our server encountered a heap error. It turns out that the developers of the system knew of the flag but no way to get any useful information from it.

Any ideas?

7 Answers
7

Leave a Comment