1回复
4年前
Full GC产生原因是啥
下列Full GC产生原因是啥,如何解决调整
[ Full GC (Allocation Failure) 2020-10-28T19:58:47.153+0800: 8809.366:
[
CMS2020-10-28T19:58:48.325+0800: 8810.538: [CMS-concurrent-mark: 1.418/1.454 secs] [Times: user=9.69 sys=0.16, real=1.46 secs]
(concurrent mode failure): 1966079K->1966079K(1966080K), 7.7026651 secs
]
2948938K->1985539K(2949120K), [Metaspace: 49449K->49449K(1093632K)], 7.7034577 secs
]
[Times: user=12.35 sys=0.00, real=7.71 secs]
jvm参数设置如下
JAVA_OPTS="-server -Xms3g -Xmx3g -Xmn1152m -Xss512k -XX:SurvivorRatio=4"
JAVA_OPTS="${JAVA_OPTS} -XX:+UseBiasedLocking -XX:-TieredCompilation
-XX:+AlwaysPreTouch -Djava.awt.headless=true"
JAVA_OPTS="${JAVA_OPTS} -XX:+UseParNewGC -XX:+UseConcMarkSweepGC
-XX:+CMSScavengeBeforeRemark -XX:+CMSParallelRemarkEnabled
-XX:+ExplicitGCInvokesConcurrent"
3720 阅读