How to use Oracle JDK bundled tools to solve Java OutOfMemoryError(plumbr.eu)
plumbr.eu
How to use Oracle JDK bundled tools to solve Java OutOfMemoryError
http://plumbr.eu/blog/solving-outofmemoryerror-jdk-tools
http://plumbr.eu/blog/solving-outofmemoryerror-jdk-tools
jhat is a wonderful tool that introduced me to memory analysis, but it fails on large memory dumps and has long initialization times.
Anyway, memory analysis is a wonderful thing which I'll surely lack if I'd move into C/C++ or dynamic languages (non-JVM hosted). It makes you deeply understand your program's memory consumption.