JVM dump和分析
原文链接:https://www.dubby.cn/detail.html?id=9098 1、dump jmap -dump:live,format=b,file=~/Desktop/dump.hprof 1110 其他参数意义: Usage: jmap [option] <pid> (to connect to running process) jmap [option] <executable <core> (to connect to a core file) jmap [option] [server_id@]<remote server IP or hostname> (to connect to remote debug server) where <option> is one of: <none> to print same info as Solaris pmap -heap to print java heap summary -histo[:live] to print histogram of java object heap; if the "live" suboption is specified, only count live objects -clstats to print class loader statistics