Page 1 of 1

"Subsonic encountered an internal error"

PostPosted: Thu Aug 05, 2010 2:45 am
by alemdohorizonte
hi,
can anyone help me with the following error? (i've included the log because the error message to include it).
everything was working fine until late last night and now no matter what i try i cannot get subsonic to see my music folders.
thanks.

error message & log:
********

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 Apple Inc. 1.6.0_20
Operating system Mac OS X 10.6.4
Server jetty-6.1.x
Memory Used 97 of 97 MB
Stack trace java.lang.OutOfMemoryError: Java heap space
at java.util.regex.Pattern$BnM.optimize(Pattern.java:4946)
at java.util.regex.Pattern.compile(Pattern.java:1473)
at java.util.regex.Pattern.(Pattern.java:1133)
at java.util.regex.Pattern.compile(Pattern.java:823)
at java.lang.String.split(String.java:2292)
at net.sourceforge.subsonic.service.SearchService$Line.parse(SearchService.java:724)
at net.sourceforge.subsonic.service.SearchService.getIndex(SearchService.java:602)
at net.sourceforge.subsonic.service.SearchService.getStatistics(SearchService.java:349)
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.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
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)

Re: "Subsonic encountered an internal error"

PostPosted: Thu Aug 05, 2010 8:12 am
by fridden
I think you need change the memory limit (default is 100MB). I had the same problem and increased the limit and the problem was gone.
You can increase the limit by opening the Subsonic control panel and click on the "Settings" tab.

/Fridden

PostPosted: Thu Aug 05, 2010 10:34 am
by alemdohorizonte
thanks fridden.
where are you seeing the settings to be able to increase the memory limit? (i have a mac and have been through all of the settings tabs but cannot find anything relating to memory that i can configure (except kbps)).

Re: "Subsonic encountered an internal error"

PostPosted: Thu Aug 05, 2010 12:16 pm
by fridden
Sorry, I am running Windows 7.

I just open the subsonic control panel and it has two tabs. The first one is "Status", the second is "Settings".

Under settings I have "Port number", "Memory Limit (mb)" and "Context path".

Perhaps somebody else running subsonic on a Mac could help out.

/Fridden