Category: JVM
-
jmap heap dump
HOW TO CAPTURE HEAP DUMP? – JMAP, – XX:+HEAPDUMPONOUTOFMEMORYERROR JHAT – HEAP DUMP ANALYSIS 切换到跑 java 进程所用的用户 [[email protected] etl] $ jmap -dump:live,file=/tmp/kafka_hdfs_1_minute.bin pid [[email protected] etl] $ jmap -dump:live,file=/tmp/kafka_hdfs_15_minute.bin pid 类似的工具还有 jps, jstack, jmap, etc.