tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: How to increase memory form Tomcat 5.5
Date Tue, 13 May 2008 16:01:42 GMT
hi James, a better place is to create a file called setenv.sh
that way you don't have to change any tomcat files

sometimes you have to separate out the commands like

JAVA_OPTS=-Xmx512m
export JAVA_OPTS

export is all lowercase
Filip

James Law wrote:
> I believe in Linux the command is
>
> Export JAVA_OPTS= etc
>
> I put it in the setclasspath.sh file though I don't think its that important?
>
>
> -----Original Message-----
> From: Tomás Tormo [mailto:ttormo@indenova.com] 
> Sent: 13 May 2008 09:25
> To: Tomcat Users List
> Subject: How to increase memory form Tomcat 5.5
>
> Hi
>
>     I'm getting the OutOfMemory exception sometimes with some 
> applications in tomcat 5.5 on Ubuntu. I've been searching on the 
> internet how to give more memory to Tomcat, but the only way i found is 
> to add the line "set JAVA_OPTS=-server -Xms256m -Xmx512m" (cause in this 
> case i need that amount of memory) in the beginning of catalina.sh, but 
> it doesn't work: when i check the Server Status in the Web 
> Administration page of Tomcat, i always get the same value: 113 mb. 
> Could you please help me to resolve this issue?
>
> Thank you very much.
>
>   


---------------------------------------------------------------------
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


Mime
View raw message