Page 1 of 1

Error: java.lang.OutOfMemoryError

PostPosted: Tue Jun 05, 2007 10:53 am
by Tecumseh
Hey,
Who can help me.
Never had problems with Subsonic en Tomcat but the last day's i cant login.
No new progs installd.

Errorreport:
Error
Subsonic encountered an internal error. You can report this error in the Subsonic Forum. Please include the information below.

Exception java.lang.OutOfMemoryError
Message Java heap space
Java version Sun Microsystems Inc. 1.5.0_05
Operating system Windows NT (unknown) 6.0
Server Apache Tomcat/6.0.13
Memory Used 63 of 63 MB
Stack trace java.lang.OutOfMemoryError: Java heap space

I will be very thankfull, Gr. Tecumse

PostPosted: Tue Jun 12, 2007 7:06 pm
by Inge
Seems to be a memory issue (using 63 of 63 MB)

If you're running Linux, try adding the following line in the beginning of the startup.sh file

Code: Select all
export JAVA_OPTS="-Xms=256M -Xmx=256M"


This sets minimum an maximum values for memory consumption. If this helps, adjust the amount of memory that suits your system (varies from system to system, dependent of the number of files in your music library).

If you're running on Windows as a service, there should be a configuration tool to specify the amount of memory to use.