Page 1 of 1

java.lang.OutOfMemoryError

PostPosted: Sun Aug 14, 2011 5:43 pm
by bluetwang
Hi
I'm quite new to subsonic and installed it just a few days ago. Since this morning I have problems and don't get it running again.
After having the problems I installed the new 4.5 version, but it only helped for a short time. Now I have a java.lang.OutOfMemoryError and the service is not running. :(

Exception java.lang.OutOfMemoryError
Message Java heap space
Java version Sun Microsystems Inc. 1.6.0_26
Operating system Windows 7 6.1
Server jetty-6.1.x
Memory Used 96 of 96 MB
Stack trace java.lang.OutOfMemoryError: Java heap space

I also donated to have the addditional functionalities available.

Any ideas what the problem might be?

Thanks :roll:

PostPosted: Sun Aug 14, 2011 6:05 pm
by BKKKPewsey
You have answered your own problem. :)
You need to increase the memory limit via the subsonic control panel. I would suggest 250 mb but it all depends on the size of your music library.

PostPosted: Sun Aug 14, 2011 6:35 pm
by bluetwang
Thanks for that quick help!

I increased memory limit from 100MB to 300MB. After restarting the application usage jumped to 231 MB!! Now it is running fine using around 130 to 150 MB. :D

Collection Size is:
16,434 artists
9,616 albums
128,895 songs
859.42 GB (~ 13,350 hours)