Page 1 of 1

How to increase memory limit

PostPosted: Tue Dec 18, 2012 4:26 pm
by dsync89
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.

Re: How to increase memory limit

PostPosted: Tue Dec 18, 2012 4:29 pm
by bushman4
What platform?

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

Glenn

Re: How to increase memory limit

PostPosted: Wed Dec 19, 2012 12:48 am
by dsync89
Thanks for the reply. I'm running it on Mac OS.

Re: How to increase memory limit

PostPosted: Wed Dec 19, 2012 4:11 am
by dsync89
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"