GC overhead limit exceeded

Need help? Post your questions here.

Moderator: moderators

GC overhead limit exceeded

Postby Shahid » Wed Mar 31, 2010 8:17 pm

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?
Shahid
 
Posts: 5
Joined: Wed Mar 31, 2010 8:13 pm

Postby Pathduck » Wed Mar 31, 2010 8:38 pm

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
Pathduck
 
Posts: 27
Joined: Wed Mar 18, 2009 10:14 pm

Postby Shahid » Wed Mar 31, 2010 8:55 pm

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

Postby Shahid » Thu Apr 01, 2010 3:35 am

For anyone with the same issue ... changed this setting to 512 as recommended, and I now have no problems. Thank you!
Shahid
 
Posts: 5
Joined: Wed Mar 31, 2010 8:13 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 21 guests