Upping Memory Limit Access Denied

Need help? Post your questions here.

Moderator: moderators

Upping Memory Limit Access Denied

Postby mberma2 » Fri Nov 11, 2011 7:44 pm

I am having some issues all of a sudden with the server going down and giving me an error message. The error message states that I am out of memory. This happened before on an old PC, and I know I need to increase the memory from 96mb as I have multiple users on my server. Why will it not allow me, the admin, to update the settings on my home pc (where the server is housed)?

Thanks in advance.

Error

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 Sun Microsystems Inc. 1.6.0_27
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.util.Arrays.copyOf(Unknown Source) at java.io.CharArrayWriter.write(Unknown Source) at java.io.PrintWriter.write(Unknown Source) at java.io.PrintWriter.write(Unknown Source) at java.io.PrintWriter.print(Unknown Source) at org.apache.jasper.compiler.ServletWriter.print(ServletWriter.java:155) at org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomEnd(Generator.java:2349) at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1714) at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213) at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1705) at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213) at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219) at org.apache.jasper.compiler.Node$Root.accept(Node.java:456) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) at org.apache.jasper.compiler.Generator.generate(Generator.java:3304) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) 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.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
mberma2
 
Posts: 14
Joined: Thu Oct 21, 2010 3:50 pm

Re: Upping Memory Limit Access Denied

Postby BKKKPewsey » Fri Nov 11, 2011 7:48 pm

You change the memory via the SS control panel.
Stop and restart SS and all should be good.
: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

Re: Upping Memory Limit Access Denied

Postby mberma2 » Fri Nov 11, 2011 7:51 pm

I bring up the control panel and attempt to up the memory and then hit save settings, and it says access denied.
mberma2
 
Posts: 14
Joined: Thu Oct 21, 2010 3:50 pm

Re: Upping Memory Limit Access Denied

Postby BKKKPewsey » Fri Nov 11, 2011 9:54 pm

It looks like good old Windoze has decided you cant be trusted to access your own machine.
I thought they sorted that out on 7. :evil:

Can you (if you are allowed) start and stop SS from the control panel?
If so stop SS 1st then try to alter settings.
If that doesnt work use taskmgr and stop subsonic-service and subsonic-agent then run subsonic agent as administrator
This will bring up SS control panel, alter memory settings, save (keep fingers crossed :) ) then restart SS

If that doesn't work you can get windows XP cheap on fleabay :roll:
: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

Re: Upping Memory Limit Access Denied

Postby mberma2 » Sat Nov 12, 2011 12:24 am

You lost me at run subsonic agent as administrator.

Whether Subsonic is running or not, it will not let me change the settings. And this whole system ran fine for over 3 months.
mberma2
 
Posts: 14
Joined: Thu Oct 21, 2010 3:50 pm

Re: Upping Memory Limit Access Denied

Postby BKKKPewsey » Sat Nov 12, 2011 12:56 am

In C:\Program Files (X86)\Subsonic you should have subsonic-agent.exe (the control panel)
After stopping it first via taskmgr, as already posted, right click on it and run as administrator.
Alter the memory settings to say 256MB, save and restart subsonic.
: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

Re: Upping Memory Limit Access Denied

Postby mberma2 » Sat Nov 12, 2011 1:04 am

It still gives me the same message.
mberma2
 
Posts: 14
Joined: Thu Oct 21, 2010 3:50 pm

Re: Upping Memory Limit Access Denied

Postby BKKKPewsey » Sat Nov 12, 2011 3:13 am

One last attempt then I am out of ideas. :(

Stop SS again :| and go to the c:\subsonic\db folder.
In there you will find a file called subsonic.lck
Delete that and then restart SS again and try again.
: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

Re: Upping Memory Limit Access Denied

Postby mberma2 » Sun Nov 13, 2011 3:01 pm

Still nothing...appreciate the attempts though.
mberma2
 
Posts: 14
Joined: Thu Oct 21, 2010 3:50 pm

Re: Upping Memory Limit Access Denied

Postby BKKKPewsey » Sun Nov 13, 2011 3:57 pm

Try a re-install (backup the db folder 1st just in case)
Also check that you only have one subsonic-service running.
Now I am really out of ideas :roll:
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

Re: Upping Memory Limit Access Denied

Postby Poffa » Sun Nov 13, 2011 4:32 pm

Poffa
 
Posts: 62
Joined: Sun Jun 28, 2009 4:21 pm
Location: Bergen, Bergen

Re: Upping Memory Limit Access Denied

Postby mberma2 » Thu Nov 17, 2011 2:44 am

HUGE thanks to all who helped.....we are up and running again.
mberma2
 
Posts: 14
Joined: Thu Oct 21, 2010 3:50 pm

Re: Upping Memory Limit Access Denied

Postby BKKKPewsey » Thu Nov 17, 2011 3:08 pm

If you can let us know what you did to fix it I will then lock this thread and mark it solved.
(Could be useful for other users with a similar problem)
: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 Help

Who is online

Users browsing this forum: No registered users and 23 guests