性能问答>该参数优化后报错 gc使用冲突>
4回复
4年前

该参数优化后报错 gc使用冲突



待优化的参数

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.port=10001
-Xms31744m
-Xmx31744m
-XX:ParallelGCThreads=8
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
-XX:+PrintGCDetails
-XX:ErrorFile=/data1/log/hadoop/hs_err_pid%p.log
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/data1/log/hadoop/namenode-heapdump.log-`date
+'%Y%m%d%H%M'`
-XX:CMSInitiatingOccupancyFraction=84
-XX:+UseCMSInitiatingOccupancyOnly
-XX:+CMSScavengeBeforeRemark
-verbose:gc
-XX:+PrintGCTimeStamps
-XX:+PrintGCDateStamps
-XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses
$HADOOP_NAMENODE_OPTS
核数32
物理内存46G
操作系统Linux
位数64
JDK版本JDK8
查看详情

该参数优化后会增加建议使用g1 报错gc使用冲突
Conflicting collector combinations in option list; please refer to the release notes for the combinations allowed
参考link:
不允许同时使用多个gc

4342 阅读
请先登录,查看4条精彩评论吧
快去登录吧,你将获得
  • 浏览更多精彩评论
  • 和开发者讨论交流,共同进步