Java message error & a port/address question

General discussions.

Moderator: moderators

Java message error & a port/address question

Postby dcbahr » Thu Jun 07, 2012 11:53 pm

Hi,

I am getting this huge error when I managed to get to my subsonic page. I uninstalled and reinstalled subsonic before this, and had changed the settings but have restored them to their defalts and restarted subsonic. This leads to another issue which I'll write about here since that java error is so long. I tried to change the port from 80 to 8080 and 8012, but both returned an error that said something like, "the address is already in use, please try a different port." I don't think those ports are in use, they are pretty high up there, aren't there? So I reset the port to 80. Now I get this big java error. I haven't a clue what I'm doing here. I just want to make a subsonic server and stream my music to my laptop. Help please?

Java Error:

Exception
java.lang.OutOfMemoryError
Message
Java heap space
Java version
Sun Microsystems Inc. 1.6.0_31
Operating system
Windows 7 6.1
Server
jetty-6.1.x
Memory
Used 96 of 96 MB
Stack trace
java.lang.OutOfMemoryError: Java heap space
at java.io.Win32FileSystem.resolve(Unknown Source)
at java.io.File.
(Unknown Source)
at java.io.File.listFiles(Unknown Source)
at net.sourceforge.subsonic.util.FileUtil.listFiles(FileUtil.java:63)
at net.sourceforge.subsonic.domain.MusicFile.getChildren(MusicFile.java:292)
at net.sourceforge.subsonic.service.MusicFileService.getChildDirectories(MusicFileService.java:146)
at net.sourceforge.subsonic.service.MusicIndexService.createArtists(MusicIndexService.java:136)
at net.sourceforge.subsonic.service.MusicIndexService.getIndexedArtists(MusicIndexService.java:64)
at net.sourceforge.subsonic.controller.LeftController.getCacheEntry(LeftController.java:219)
at net.sourceforge.subsonic.controller.LeftController.handleRequestInternal(LeftController.java:131)
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)
dcbahr
 
Posts: 11
Joined: Thu Jun 07, 2012 2:36 am

Re: Java message error & a port/address question

Postby BKKKPewsey » Fri Jun 08, 2012 1:33 am

dcbahr wrote:java.lang.OutOfMemoryError

Yep and you got huge hint :lol:
Increase the memory allocation via the SS console to say 256Mb
You will need to stop and restart SS for the settings to become active.

:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom


Return to General

Who is online

Users browsing this forum: No registered users and 7 guests