jmap介绍 离线分析命令jmap -dump:live,format=b,file=output.hprof pid
jmap:查看整个堆及内存对象基本用法:jmap[-option]pid重点用法:toprintsameinfoasSolarispmap-heaptoprintjavaheapsummary-histo[:live]toprinthistogramofjavaobjectheap;ifthe“live”suboptionisspecified,onlycountliveobjects-final