Thursday, April 26, 2012

java.lang.OutOfMemoryError

To solve this problem set the environment variable as export CATALINA_OPTS=”-Xms256m -Xmx512m” or export JAVA_OPTS=”-Xms256m -Xmx512m”

Search key word: OutOfMemoryError

More information: 
http://confluence.atlassian.com/display/DOC/Configuring+System+Properties
http://mhashem.wordpress.com/2008/08/25/set-tomcat-memory-heap-size/
http://stackoverflow.com/questions/3583757/how-to-make-sure-that-tomcat6-reads-catalina-opts-on-windows

No comments:

Post a Comment