1、最近有没上过线,最近历史记录,代码改动有没可能造成泄露
2、如果需要快速定位:
jmap -histo 18640|head -20
-histo[:live] to print histogram of java object heap; if the "live"
suboption is specified, only count live objects
3、如果不考虑系统会被暂停,导致stop the world的情况,可以dump分析
jmap -dump:format=b,file=/tmp/heap.hprof <PID>