mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
jhat: add Chinese translation (#6265)
This commit is contained in:
parent
3d7dd2169e
commit
e61ac03ef1
1 changed files with 16 additions and 0 deletions
16
pages.zh/common/jhat.md
Normal file
16
pages.zh/common/jhat.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# jhat
|
||||
|
||||
> Java 堆分析工具。
|
||||
> 更多信息:<https://docs.oracle.com/javase/8/docs/technotes/tools/unix/jhat.html>.
|
||||
|
||||
- 分析堆转储文件(来自 jmap),通过 http 端口 7000 进行查看:
|
||||
|
||||
`jhat {{路径/堆转储文件}}`
|
||||
|
||||
- 分析堆转储文件,为 http 服务指定备用端口:
|
||||
|
||||
`jhat -p {{端口}} {{路径/堆转储文件}}`
|
||||
|
||||
- 通过 jhat 分析转储文件,指定使用 8GB RAM(建议使用 2-4 倍的转储大小):
|
||||
|
||||
`jhat -J-mx8G {{路径/堆转储文件}}`
|
Loading…
Add table
Reference in a new issue