java.lang.OutOfMemoryError: Java heap space的解决

java.lang.OutOfMemoryError: Java heap space的解决
   修改TOMCAT_HOME/bin/catalina.bat,在“echo "Using CATALINA_BASE:   $CATALINA_BASE"”上面加入以下JAVA_OPTS的1行:
   rem ----- Execute The Requested Command ---------------------------------------
   set JAVA_OPTS=%JAVA_OPTS% -server -Xms800m -Xmx800m   -XX:MaxNewSize=256m
   echo Using CATALINA_BASE:   %CATALINA_BASE%

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