Error message received

Need help? Post your questions here.

Moderator: moderators

Error message received

Postby malave1234 » Wed Feb 10, 2010 4:45 am

/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
malave1234
 
Posts: 1
Joined: Wed Dec 16, 2009 4:54 am

Postby jeremyh » Wed Feb 10, 2010 5:34 pm

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.
jeremyh
 
Posts: 49
Joined: Thu Feb 05, 2009 12:01 am
Location: Westminster, Colorado, United States


Return to Help

Who is online

Users browsing this forum: No registered users and 34 guests