tomcat运行内存溢出问题

tomcat 运行内存配置优化 /opt/apache-tomcat-7.0.65/bin/catalina.sh:
JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=utf-8 -server -Xms8192M -Xmx8192M -XX:NewSize=600M -XX:MaxNewSize=600M -XX:SurvivorRatio=7 -Xss512k -XX:+AggressiveOpts -XX:+UseBiasedLocking -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+DisableExplicitGC -XX:MaxTenuringThreshold=15 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:CMSInitiatingOccupancyFraction=75  -XX:+CMSParallelRemarkEnabled -XX:+UseCMSCompactAtFullCollection -XX:LargePageSizeInBytes=128m  -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -Djava.awt.headless=true "
 
 
 
 
 
posted @ 2017-02-17 15:30  ctgu_czy  阅读(248)  评论(0编辑  收藏  举报