mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-01 11:17:56 +01:00
Merge pull request #775 from notpeter/java-tools
Additional java jhat example
This commit is contained in:
commit
bcbf7e35fd
1 changed files with 4 additions and 0 deletions
|
@ -9,3 +9,7 @@
|
||||||
- Analyze a heap dump, specifying an alternate port for the http server:
|
- Analyze a heap dump, specifying an alternate port for the http server:
|
||||||
|
|
||||||
`jhat -p {{port}} {{dump_file.bin}}`
|
`jhat -p {{port}} {{dump_file.bin}}`
|
||||||
|
|
||||||
|
- Analyze a dump letting jhat use up to 8GB RAM (2-4x dump size recommended):
|
||||||
|
|
||||||
|
`jhat -J-mx8G {{dump_file.bin}}`
|
||||||
|
|
Loading…
Reference in a new issue