jvm优化

JAVA_OPTS="$JAVA_OPTS -server -Xms4096m -Xmx4096m -Xmn1536m -XX:PermSize=128M -XX:MaxPermSize=256M -XX:SurvivorRatio=1 -XX:+PrintGCD
etails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution -verbose:gc -Xloggc:/home/ygy
hl/tomcat8/logs/gc.log -XX:+DisableExplicitGC -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=80 -XX:+Us
eCMSCompactAtFullCollection -XX:CMSFullGCsBeforeCompaction=1 -Djava.awt.headless=true"

你可能感兴趣的:(tomcat)