Java.Lang.OutOfMemoryError: PermGen Space in Tomcat is usually happened when the Tomcat start and stop few times. By default, Tomcat assigned very little memory for the running process, you should increase the memory by make change in catalina.bat file. Solution : find the catalina.bat file located at tomcat\bin directory. and open it with text editor. find set JAVA_OPTS after this line add the following set JAVA_OPTS=-XX:PermSize=256m -Xms128m -Xmx1024m %JAVA_OPTS%
Categories:
Advanced Java