Page 1 of 1

More memory

PostPosted: Mon Nov 22, 2010 6:16 pm
by evoss
Hi Guys

is it possible to add more memory as examples here, so do the 63.3 MB becomes 512 MB: Server Apache Tomcat/6.0.20, Java 1.6.0_13, Linux (29.1 MB / 63.6 MB)

And how to do :-)

Hope that any of you out there can help me
greetings
Evoss

PostPosted: Mon Nov 22, 2010 8:38 pm
by kermit22
Check the Linux section of this page.

http://forum.subsonic.org/forum/viewtopic.php?t=3939

PostPosted: Tue Nov 23, 2010 4:58 pm
by ootuoyetahi
kermit22 wrote:Check the Linux section of this page.

http://forum.subsonic.org/forum/viewtopic.php?t=3939


That helps for every install except the .war install.

PostPosted: Tue Nov 23, 2010 10:01 pm
by ootuoyetahi
I just edited the ~/.bashrc file and added the following code to give the tomcat server 256MB of RAM

Code: Select all
export JAVA_OPTS="-Xms256m -Xmx256m"


It seems to be working.

PostPosted: Wed Nov 24, 2010 3:53 pm
by evoss
ootuoyetahi wrote:I just edited the ~/.bashrc file and added the following code to give the tomcat server 256MB of RAM

Code: Select all
export JAVA_OPTS="-Xms256m -Xmx256m"


It seems to be working.

super thanks

But this JAVA_OPT I can not locate, it has something to say?

Regards
Evoss

PostPosted: Wed Nov 24, 2010 4:44 pm
by evoss
Exception java.lang.OutOfMemoryError
Message Java heap space
Java version Sun Microsystems Inc. 1.6.0_13
Operating system Linux 2.6.33.2
Server Apache Tomcat/6.0.20
Memory Used 63 of 63 MB
Stack trace java.lang.OutOfMemoryError: Java heap space

Geting this error all the time, i'm running subsonic on a Qnap TS 259 pleas help

Regards
Evoss