Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Sunday, August 8, 2010

Increase Memory Available for Tomcat & Java

Error - Tomcat java.lang.OutOfMemoryError

First, open the following file in your favorite editor:
# vi /var/cpanel/tomcat.options

Insert the following 2 lines (if not already present):
Xmx200M
Xms100M