Subsonic crashes with this error

Posted:
Thu Dec 30, 2010 5:22 pm
by ghostdawg
xception java.lang.OutOfMemoryError
Message Java heap space
Java version Sun Microsystems Inc. 1.6.0_20
Operating system Linux 2.6.32-27-generic
Server jetty-6.1.x
Memory Used 78 of 89 MB
Stack trace java.lang.OutOfMemoryError: Java heap space
how can i fix this memory problem
the system is a quad core intel 9550 proc. with 4 gigs of ram
421 gig music database on an external drive
i'll see if can get the internal log error and post it

Posted:
Thu Dec 30, 2010 5:25 pm
by ghostdawg
it just crashed again with in 3 minutes with this error
Exception java.lang.OutOfMemoryError
Message GC overhead limit exceeded
Java version Sun Microsystems Inc. 1.6.0_20
Operating system Linux 2.6.32-27-generic
Server jetty-6.1.x
Memory Used 79 of 90 MB
Stack trace java.lang.OutOfMemoryError: GC overhead limit exceeded
this is the subsonic log after this crash
[2010-12-30 12:26:30,356] INFO DaoHelper - Checking database schema.
[2010-12-30 12:26:30,619] INFO DaoHelper - Done checking database schema.
[2010-12-30 12:26:30,780] INFO SearchService - Automatic index creation scheduled to run every 1 day(s), starting at Fri Dec 31 03:00:00 EST 2010
[2010-12-30 12:26:30,834] INFO PodcastService - Automatic Podcast update scheduled to run every 24 hour(s), starting at Thu Dec 30 12:31:30 EST 2010
[2010-12-30 12:26:36,822] WARN NetworkService - No UPnP router found.
[2010-12-30 12:26:50,542] INFO VersionService - Resolved local Subsonic version to: 4.2
[2010-12-30 12:26:50,744] INFO VersionService - Resolved latest Subsonic final version to: 4.2
[2010-12-30 12:26:50,744] INFO VersionService - Resolved latest Subsonic beta version to: 4.2.beta1
[2010-12-30 12:27:18,947] WARN CoverArtController - Failed to create thumbnail for /media/Music_Drive/audio1/record pool/House/House-1524/83 West - South Slope (83 West Rub).mp3
java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferByte.<init>(DataBufferByte.java:92)
at java.awt.image.ComponentSampleModel.createDataBuffer(ComponentSampleModel.java:415)
at java.awt.image.Raster.createWritableRaster(Raster.java:944)
at javax.imageio.ImageTypeSpecifier.createBufferedImage(ImageTypeSpecifier.java:1186)
at javax.imageio.ImageReader.getDestination(ImageReader.java:2896)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1016)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:984)
at javax.imageio.ImageIO.read(ImageIO.java:1438)
at javax.imageio.ImageIO.read(ImageIO.java:1342)
at net.sourceforge.subsonic.controller.CoverArtController.getCachedImage(CoverArtController.java:141)
at net.sourceforge.subsonic.controller.CoverArtController.handleRequest(CoverArtController.java:93)
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)

Posted:
Thu Dec 30, 2010 6:29 pm
by alphawave7
Use SS console to increase your memory to 200mb or more, stop and then restart the service.

Posted:
Thu Dec 30, 2010 6:39 pm
by ghostdawg
alphawave7 wrote:Use SS console to increase your memory to 200mb or more, stop and then restart the service.
ok Ill try that and I'll let you know if it works,thanx

Posted:
Thu Dec 30, 2010 8:56 pm
by ghostdawg
ghostdawg wrote:alphawave7 wrote:Use SS console to increase your memory to 200mb or more, stop and then restart the service.
ok Ill try that and I'll let you know if it works,thanx
So far so good it seems to be staying up we'll see how it acts over night,thanx again