Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
0
java.lang. OutOfMemor yError: Java heap space
[ Edited ]
Options
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Flag for a Moderator
02-26-2009 05:17 AM - last edited on 02-26-2009 05:38 AM
This error means that you need to increase the heap size for your Tomcat installation.
Windows running Tomcat 5.5 and later :
- Go to the "Apache Tomcat x.x" folder in the Start Menu.
- Start the "Configure Tomcat".
- Select the "Java" tab in the configuration dialog.
The "Maximum memory pool" text box coresponds to the heap size limit. Raise this limit to increase the heap size.
Windows running Tomcat 4.1 or earlier :
- Place the Java options into the CATALINA_OPTS environment variable. To do this, run Control Panel / System, select Environment Variables and create the CATALINA_OPTS variable, and set the desired option, for example "-server -Xmx400m".
Linux :
- Place the Java options into the CATALINA_OPTS environment variable. For example: "-server -Xmx400m".
