JVM参数调优

CMS

-Xms8192m 
-Xmx8192m 
-Xmn2048M 
-XX:MaxPermSize=192m 
-XX:PermSize=128m 
-XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=80
-XX:+UseCMSInitiatingOccupancyOnly
-XX:+CMSScavengeBeforeRemark
-XX:+ScavengeBeforeFullGC
-XX:+CMSParallelRemarkEnabled
-XX:+DisableExplicitGC
-XX:SurvivorRatio=5
-XX:TargetSurvivorRatio=90
-XX:+AggressiveOpts
-XX:+UseBiasedLocking
-XX:+UseCompressedOops
-XX:HeapDumpOnOutOfMemoryError 
-server 
-verbose:gc 
-XX:PrintGCTimeStamps 
-XX:PrintGCDetails 
-XX:PrintTenuringDistribution 
-Xloggc:logs/gc.log

分类: 默认 标签: 发布于: 2021-10-10 04:50:28, 更新于: 2022-04-13 15:24:11