Jmap view memory usage and generate heapdump

If you want to analyze your Java application, you can use jmap program to generate heapdump file example:

Jmap - heap 1234 (1234 is the process number)

Jmap is a JDK built-in tool. It is very compact and convenient. Its supporting parameters are as follows:

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>