mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 22:55:44 +02:00
jmap: add dump live objects only. (#9865)
This commit is contained in:
parent
9dc7ea7281
commit
5448781256
1 changed files with 4 additions and 0 deletions
|
@ -18,3 +18,7 @@
|
||||||
- Dump contents of the heap into a binary file for analysis with jhat:
|
- Dump contents of the heap into a binary file for analysis with jhat:
|
||||||
|
|
||||||
`jmap -dump:format=b,file={{path/to/file}} {{java_pid}}`
|
`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}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue