How to increase memory limit

Artist radio, genre radio & related artists. A Subsonic server for music nerds.

Moderator: moderators

How to increase memory limit

Postby dsync89 » Tue Dec 18, 2012 4:26 pm

Hi hakko, may I know which part of the code should I modify to increase subsonic memory limit? Right now it seeemd to max at 300MB. I'm deploying via Tomcat WAR solution.
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: How to increase memory limit

Postby bushman4 » Tue Dec 18, 2012 4:29 pm

What platform?

For tomcat on windows use the "Configure Tomcat" application and set the memory limit on the java tab.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 874
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: How to increase memory limit

Postby dsync89 » Wed Dec 19, 2012 12:48 am

Thanks for the reply. I'm running it on Mac OS.
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: How to increase memory limit

Postby dsync89 » Wed Dec 19, 2012 4:11 am

I think this is the wrong forum to post. I should have posted it in FAQ section instead.

Anyway I managed to solve it, which is done by adding arguments in the $JAVA_OPTS as follows and then restart Tomcat:
Code: Select all
export JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=512m"
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am


Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 30 guests