More memory

Need help? Post your questions here.

Moderator: moderators

More memory

Postby evoss » Mon Nov 22, 2010 6:16 pm

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
evoss
 
Posts: 11
Joined: Thu Nov 19, 2009 3:45 pm

Postby kermit22 » Mon Nov 22, 2010 8:38 pm

Check the Linux section of this page.

http://forum.subsonic.org/forum/viewtopic.php?t=3939
User avatar
kermit22
 
Posts: 218
Joined: Fri Feb 20, 2009 7:00 pm

Postby ootuoyetahi » Tue Nov 23, 2010 4:58 pm

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.
ootuoyetahi
 
Posts: 53
Joined: Wed Mar 24, 2010 7:10 pm

Postby ootuoyetahi » Tue Nov 23, 2010 10:01 pm

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.
ootuoyetahi
 
Posts: 53
Joined: Wed Mar 24, 2010 7:10 pm

Postby evoss » Wed Nov 24, 2010 3:53 pm

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
evoss
 
Posts: 11
Joined: Thu Nov 19, 2009 3:45 pm

Postby evoss » Wed Nov 24, 2010 4:44 pm

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
evoss
 
Posts: 11
Joined: Thu Nov 19, 2009 3:45 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 19 guests