You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Frank Uccello <fr...@phantomfiber.com> on 2008/09/16 14:33:15 UTC
add memory
How do I increase memory in tomcat5 on linux?
I am using catalina.bat in windows to set it:
set JAVA_OPTS= -Xms256m -Xmx512m
How do I do this in linux?
Thanks
Frank
Frank
RE: add memory
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Alex Mestiashvili
> [mailto:alexander.mestiashvili@biotec.tu-dresden.de]
> Subject: Re: add memory
>
> Hi , this server has 16G ,do you think something wrong ?
No, just impressed. Must be about a week between garbage collections :-)
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: add memory
Posted by Alex Mestiashvili <al...@biotec.tu-dresden.de>.
Caldarale, Charles R wrote:
>> From: Alex Mestiashvili
>> [mailto:alexander.mestiashvili@biotec.tu-dresden.de]
>> Subject: Re: add memory
>>
>> export JAVA_OPTS=" -XX:MaxPermSize=256m -Xmx12000m "
>>
>
> Do you really have enough RAM on your server to make a 12 GB heap viable?
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Hi , this server has 16G ,do you think something wrong ?
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: add memory
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Alex Mestiashvili
> [mailto:alexander.mestiashvili@biotec.tu-dresden.de]
> Subject: Re: add memory
>
> export JAVA_OPTS=" -XX:MaxPermSize=256m -Xmx12000m "
Do you really have enough RAM on your server to make a 12 GB heap viable?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: add memory
Posted by Alex Mestiashvili <al...@biotec.tu-dresden.de>.
Frank Uccello wrote:
> How do I increase memory in tomcat5 on linux?
>
>
> I am using catalina.bat in windows to set it:
>
> set JAVA_OPTS= -Xms256m -Xmx512m
>
>
> How do I do this in linux?
>
>
> Thanks
>
>
> Frank
>
>
> Frank
>
>
>
Hi
just put in /bin/startup.sh something like this
export JAVA_OPTS=" -XX:MaxPermSize=256m -Xmx12000m "
Alex
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: add memory
Posted by Mark Thomas <ma...@apache.org>.
Frank Uccello wrote:
> How do I increase memory in tomcat5 on linux?
>
>
> I am using catalina.bat in windows to set it:
>
> set JAVA_OPTS= -Xms256m -Xmx512m
>
>
> How do I do this in linux?
In catalina.sh (setenv.sh would be better)
JAVA_OPTS=" $JAVA_OPTS -Xms128m -Xmx256m "
export JAVA_OPTS
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org