mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 23:22:07 +02:00

* Fix file(s) and more path/to * Update pages.it/common/rm.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * thanks emily your suggestion was dogshit https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/common-arguments.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
496 B
496 B
jmap
Java memory map tool. More information: https://docs.oracle.com/javase/7/docs/technotes/tools/share/jmap.html.
- Print shared object mappings for a Java process (output like pmap):
jmap {{java_pid}}
- Print heap summary information:
jmap -heap {{filename.jar}} {{java_pid}}
- Print histogram of heap usage by type:
jmap -histo {{java_pid}}
- Dump contents of the heap into a binary file for analysis with jhat:
jmap -dump:format=b,file={{path/to/file}} {{java_pid}}