2 Minutes To Code (β Version)

'jhat' command - 2 minute tutorial

How to set memory size for 'jhat' for opening huge jvm heap dump

If you heap dump is huge, you will need to allow jhat to use required memory. This can be done by using the option -J-mx and the complete comamnd for 1024 megabytes is jhat -J-mx1024 dump.hprof