Page 1 of 1

GC overhead limit exceeded

PostPosted: Wed Mar 31, 2010 8:17 pm
by Shahid
Hi all - firstly, awesome product! Really enjoying using it so far.

I've installed the latest version of Subsonic on a fully updated Ubuntu 9 server. It works great for listing smaller folders, but when trying to access a folder that contains a lot of entries (either files or other folders) I get this message:

Exception java.lang.OutOfMemoryError
Message GC overhead limit exceeded
Java version Sun Microsystems Inc. 1.6.0_0
Operating system Linux 2.6.31-20-generic
Server jetty-6.1.x
Memory Used 53 of 58 MB
Stack trace java.lang.OutOfMemoryError: GC overhead limit exceeded

I did note the other thread that mentioned increasing the available memory - however, I'm surprised that the value isn't set by default to work OK with larger sets of data, so I'm wondering if there isn't something else weird happening here. Any thoughts?

PostPosted: Wed Mar 31, 2010 8:38 pm
by Pathduck
Hi, and welcome Subsonic :)

There is really no way to set a "standard" value that will work for everyone. It all depends on the size of the data needed to index. But yes maybe 64 is a little, then some people want to run a minimal server etc etc.

Have you tried increasing the heapsize? I have quite a large collection (and lots of ram) so I have:
SUBSONIC_MAX_MEMORY=512

PostPosted: Wed Mar 31, 2010 8:55 pm
by Shahid
Thanks Pathduck - I appreciate the help! I'll give that a shot when I get home, and will test again after restarting the daemon.

PostPosted: Thu Apr 01, 2010 3:35 am
by Shahid
For anyone with the same issue ... changed this setting to 512 as recommended, and I now have no problems. Thank you!