dump heap information
jcmd
jmap
jconsole
jvisualVM and much more
Virtual Machine Additions -XX: HeapDumpOnOutOfMemoryError option, throwing OutOfMemoryError, will automatically perform a heap dump.
Analysis of the dump file
jhat -J-Xmx512M dump.hprof
Description: Sometimes dump out a big heap at startup will be reported insufficient heap space error, you can add parameters: jhat -J-Xmx512m. The memory size can be set according to their own computer.
Ip input port in the browser (in the above has been given the port log)
This page contains a variety of functions
following the implementation of several
All classes including platform
The stack is displayed all class information (not including the default class for the Java platform)
All Members of the Rootset
From the root set of objects can refer to