Increase Memory Space for Tomcat

"Uston, i've a problem: MemoryError: PermGen space; java.lang.OutOfMemoryError: PermGen space"

On Tomcat on Windows (started manually)

If you run Tomcat (eg. from JIRA Standalone) on Windows, and are starting it manually by running bin\startup.bat, edit bin\setenv.bat and add the line:

set JAVA_OPTS=-Xms256m -Xmx256m -XX:MaxPermSize=512m 
and then restart. Adjust 256 to the maximum memory you want to allocate.


If bin\setenv.bat does not exist, create it or edit directly tha catalina.bat

Nessun commento:

Posta un commento