2 Minutes To Code (β Version)

'jhat' command - 2 minute tutorial

Overview of 'jhat' comamnd

The 'jhat' command is used to analyse the heap dump from a jvm.

It is one on the tools in the set of utilities provided in the java release bundle in the $JDK_HOME/bin folder.

You should use jhat, when other richer tools like Eclipse Memory Analyzer cannot be used for some reason.