TOMCAT优化配置

tomcat5w.exe :
   -Xrs -Xms768m -Xmx1024m -XX:NewSize=128m -XX:MaxNewSize=192m
-XX:SurvivorRatio=8

catalina.bat :
   if not exist "%CATALINA_HOME%\bin\tomcat-juli.jar" goto noJuli
set JAVA_OPTS=%JAVA_OPTS%
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"
JAVA_OPTS=%JAVA_OPTS% -server -Xms512m -Xmx768m -XX:NewSize=128m
-XX:MaxNewSize=192m -XX:SurvivorRatio=8

你可能感兴趣的:(java,apache,tomcat)