jvm 远程调试 增加jvm 参数 -Xdebug -Xrunjdwp:transport=dt_socket,address=52002,server=y,suspend=n -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:5005,server=y,suspend=n jvm 分析 jmap -dump:format=b,file=/tmp/22325.hprof 22325 jmap -heap 22325 分析工具 mat