1 top, top -Hp pid ,jstack ,jmap 保存堆栈 cat stack | grep -i 34670 -C10 --color 我通过jhat 命令生成html的内存信息页面 然后输入http://localhost:7000查看