PermSpace 内存溢出

设置tomcat
..\apache-tomcat-6.0.0\bin\catalina.bat

if not exist "%CATALINA_HOME%\conf\logging.properties" goto noJuli
rem set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"
set JAVA_OPTS=-server -Xms1024m -Xmx1024m -Xss512k -XX:PermSize=64M -XX:MaxNewSize=256m -XX:MaxPermSize=128m -Djava.awt.headless=true
:noJuli

蓝色前+rem注释

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