Comment 2 for bug 565101

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: walrus reports java.lang.OutOfMemoryError: Java heap space

The suggested fix is to up the jvm's memory to 384M in /etc/init/eucalyptus.conf:

=== modified file 'debian/eucalyptus-common.eucalyptus.upstart'
--- debian/eucalyptus-common.eucalyptus.upstart 2010-02-04 01:00:15 +0000
+++ debian/eucalyptus-common.eucalyptus.upstart 2010-04-20 16:59:34 +0000
@@ -36,7 +36,7 @@
 script
        . /etc/eucalyptus/eucalyptus.conf

- opts="-h $EUCALYPTUS -u $EUCA_USER --pidfile /var/run/eucalyptus/eucalyptus.pid -l $LOGLEVEL -L console-log"
+ opts="-h $EUCALYPTUS -u $EUCA_USER --pidfile /var/run/eucalyptus/eucalyptus.pid -l $LOGLEVEL -L console-log -Xmx384m"
        services=""

        # If the -cloud package is not installed, disable the cloud service