1. TOP 获取进程内存高的进程ID 2. jmap -dump:live,format=b,file=heap.hprof 3514 生成内存快照文件 3. 用MAT或JProfile分析内存占用情况