Page 1 of 1

Error message received

PostPosted: Wed Feb 10, 2010 4:45 am
by malave1234
/Users/MalaveVisions/Desktop/Subsonic error message.jpg

Have attached an error message while working with Subsonic requesting Subsonic to be informed.

It has to do with: java.lang.OutofMemoryError
Java heap space
Sun Microsystems Inc. 1.0.0_17
Windows 7 6.1
Jetty-6.1.x
Used 63 of 63 MB
java.land.OutofMemoryError: Java heap space

PostPosted: Wed Feb 10, 2010 5:34 pm
by jeremyh
It looks like your JVM is allocating a max of 64MB of memory and you used it all up. You should increase the memory size in the jvm startup script.

There is a line in the /etc/init.d/tomcat6 (or whatever you are using to serve the app) script that sets the maximum java heap size:

JAVA_OPTS="-Djava.awt.headless=true -Xmx256M"

You just bump up the -Xmx value (Maximum java heap size)
You could also specify the initial java heap size with "-Xms" if you didn't want the java instance to have to resize the heap while running.