1.jmap -dump:format=b,file=test.txt pid orm
而后用jhat分析 console
2. jmap -histo:live pid form
3.经过JVisualVm来查看 test
4.jconsole dump文件用jhat查看。 file