1.dump文件 导出内存溢出是时文件 jmap -dump:live,format=b,file=heap.bin 【进程pid】 2.文件分析 Jprofiler dump文件分析,查看占用内存数据,定位代码