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 "
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 "
ctgu_czy