Error: java.lang.OutOfMemoryError

Need help? Post your questions here.

Moderator: moderators

Error: java.lang.OutOfMemoryError

Postby Tecumseh » Tue Jun 05, 2007 10:53 am

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
Tecumseh
 
Posts: 1
Joined: Tue Jun 05, 2007 10:47 am

Postby Inge » Tue Jun 12, 2007 7:06 pm

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.
Inge
 
Posts: 11
Joined: Tue Aug 29, 2006 7:28 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 2 guests