Usage: jmap -clstats to connect to running process and print class loader statistics jmap -finalizerinfo to connect to running process and print information on objects awaiting finalization jmap -histo[:[]] to connect to running process and print histogram of java object heap jmap -dump: to connect to running process and dump java heap jmap -? -h --help to print this help message dump-options: live dump only live objects all dump all objects in the heap (default if one of "live" or "all" is not specified format=b binary format file= dump heap to Example: jmap -dump:live,format=b,file=heap.bin histo-options: live count only live objects all count all objects in the heap (default if one of "live" or "all" is not specified) file= dump data to Example: jmap -histo:live,file=/tmp/histo.data