java高分局之jmap命令使用

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/liaoguolingxian/article/details/81053046

jmap 命令用于生产堆转储快照
jhat 虚拟机堆转储快照分析工具,jhat内置了一个微型的HTTP/HTML服务器。

C:\Users\Administrator>jmap -dump:format=b,file=eclipse.bin 13608
Dumping heap to C:\Users\Administrator\eclipse.bin ...
Heap dump file created
C:\Users\Administrator>jhat eclipse.bin
Reading from eclipse.bin...
Dump file created Sun Jul 15 14:44:58 CST 2018
Snapshot read, resolving...
Resolving 27802 objects...
Chasing references, expect 5 dots.....
Eliminating duplicate references.....
Snapshot resolved.
Started HTTP server on port 7000
Server is ready.

这里写图片描述

猜你喜欢

转载自blog.csdn.net/liaoguolingxian/article/details/81053046