JAVA_OPTS="$JAVA_OPTS -d64 -server -Xmn1024m -Xms4096m -Xmx4096m -XX:PermSize=256M -XX:MaxPermSize=512M"
JAVA_OPTS="$JAVA_OPTS -Xloggc:file -XX:+HeapDumpOnOutOfMemoryError"
JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=80 -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=60 -XX:+CMSParallelRemarkEnabled -XX:+CMSScavengeBeforeRemark"
JVM参数配置样例
最新推荐文章于 2024-02-06 12:22:15 发布