diff --git a/pages/common/jmap.md b/pages/common/jmap.md index 4f369468c..08b7fdaf9 100644 --- a/pages/common/jmap.md +++ b/pages/common/jmap.md @@ -18,3 +18,7 @@ - Dump contents of the heap into a binary file for analysis with jhat: `jmap -dump:format=b,file={{path/to/file}} {{java_pid}}` + +- Dump live objects of the heap into a binary file for analysis with jhat: + +`jmap -dump:live,format=b,file={{path/to/file}} {{java_pid}}`