1. 程式人生 > >【fullGC】記憶體監控工具-building

【fullGC】記憶體監控工具-building

建設中

參考地址:

http://www.cnblogs.com/myna/p/7573843.html

https://www.cnblogs.com/kongzhongqijing/articles/3621163.html

top命令,檢視java PID 為29037

jMap:

sudo -u admin /opt/taobao/java/bin/jmap -heap 29037
sudo -u admin /opt/taobao/java/bin/jmap -histo:live 29037 | more 

sudo -u admin /opt/taobao/java/bin/jmap -heap 29037
sudo -u admin /opt/taobao/java/bin/jmap -dump:format=b,file=/home/admin/mem.dat 29037
sudo -u admin /opt/taobao/java/bin/jstack 29037