【赏金20元】线上定时任务机器内存飙升,达到90%+ 排查不知原因请大佬们帮忙分析看看
线上JVM 参数
-javaagent:/etc/jmx_exporter/jmx_prometheus_javaagent-0.12.0.jar=9101:/etc/jmx_exporter/jmx_exporter.yml -Xmn3840m -Xms4096m -Xmx10240m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=1024m -XX:+UseCMSCompactAtFullCollection -XX:CMSFullGCsBeforeCompaction=1 -Xloggc:/data/applogs/server-gc/srv-gc-%t.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps
FULL GC 次数频繁
jstat -gc 13195
S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT
54272.0 51200.0 20800.0 0.0 3826688.0 746783.5 6553600.0 4999596.0 189824.0 181256.9 20352.0 18775.3 1188 177.941 654 8605.322 8783.263