Page 1 of 1

Problems after adding content

PostPosted: Sat Dec 04, 2010 2:50 am
by byronne
Hi-
Since adding a large amount of content, I have been unable to get the app to behave properly. Error is:

Exception java.lang.OutOfMemoryError
Message GC overhead limit exceeded
Java version Sun Microsystems Inc. 1.6.0_17
Operating system Linux 2.6.18-194.26.1.el5.centos.plus
Server jetty-6.1.x
Memory Used 92 of 96 MB
Stack trace java.lang.OutOfMemoryError: GC overhead limit exceeded

I have removed the db folder and restarted several times, to no avail.

Help!

PostPosted: Sat Dec 04, 2010 3:02 am
by byronne
Reverting to 4.1 seems to have resolved the issue.

Maximum library size?

PostPosted: Sat Dec 04, 2010 4:12 am
by byronne
Sorry - I stand corrected. I think I've hit the library limit.

I can login, but none of the menu functions work.

PostPosted: Sat Dec 04, 2010 4:14 am
by byronne
More info - from subsonic_sh.log:

Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
4320364 [btpool0-38] ERROR org.mortbay.log - Nested in javax.servlet.ServletException: java.lang.OutOfMemoryError: GC overhead limit exceeded:
java.lang.OutOfMemoryError: GC overhead limit exceeded


Is there something I should tweak in the Java environment?

Increasing MAX_MEMORY to 1024 no help, but got farther with

PostPosted: Sat Dec 04, 2010 4:37 am
by byronne
Sorry to be so pesky about this. This is the current message that appears in the libary pane:


Exception java.lang.OutOfMemoryError
Message Java heap space
Java version Sun Microsystems Inc. 1.6.0_17
Operating system Linux 2.6.18-194.26.1.el5.centos.plus
Server jetty-6.1.x
Memory Used 92 of 96 MB
Stack trace java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Arrays.java:3221) at java.lang.String.(String.java:233) at java.lang.StringBuffer.toString(StringBuffer.java:602) at java.io.BufferedReader.readLine(BufferedReader.java:351) at java.io.BufferedReader.readLine(BufferedReader.java:379) at net.sourceforge.subsonic.service.SearchService.getIndex(SearchService.java:545) at net.sourceforge.subsonic.service.SearchService.getStatistics(SearchService.java:293) at net.sourceforge.subsonic.controller.LeftController.handleRequestInternal(LeftController.java:120) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) at javax.servlet.http.HttpServlet.service(HttpServlet.java:715) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

Solved! (I think...)

PostPosted: Sat Dec 04, 2010 4:54 am
by byronne
Rather than modify the MAX_MEMORY parameter in /usr/share/subsonic/subsonic.sh, I changed the service config file in /etc/sysconfig/subsonic.

Seems ok so far!

Thanks for making such a great product!

PostPosted: Sat Dec 04, 2010 12:49 pm
by Exrace
How big is your library?

PostPosted: Sat Dec 04, 2010 3:30 pm
by byronne
Currently >700G.

I think that the distinction between running Subsonic as a service vs. as a shell script could be clarified in the documentation, especially in regard as to where Java variables are configured. No big deal, just saying.