- 查看要导出的Java项目
jps -l
- 导出内存堆栈信息
jmap -dump:live,format=b,file=heap001 pid
- 查看导出的堆栈文件
jhat -port 9998 /path/heap001
#浏览器访问
http://localhost:9998
转载自:https://blog.csdn.net/fishinhouse/article/details/83653863
jps -l
jmap -dump:live,format=b,file=heap001 pid
jhat -port 9998 /path/heap001
#浏览器访问
http://localhost:9998
转载自:https://blog.csdn.net/fishinhouse/article/details/83653863