tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Köhler <skoeh...@upb.de>
Subject Re: tomcat 4.1.18 locks up
Date Mon, 24 Feb 2003 16:35:26 GMT
ps aux now shows something like

/opt/java/bin/java -server -Xmx512m ...

i think, this should help.
is it a good idea, to use -server (selects the server vm)?

Shapira, Yoav wrote:
> Howdy,
> For starters, try -Xmx512m.  That will set a max heap size of 512MB for your JVM.  
> 
> To set the option for tomcat, modify the JAVA_OPTS variable in $CATALINA_HOME/bin/catalina.sh.
> 
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> 
>>-----Original Message-----
>>From: Sven Köhler [mailto:skoehler@upb.de]
>>Sent: Monday, February 24, 2003 11:23 AM
>>To: tomcat-user@jakarta.apache.org
>>Subject: Re: tomcat 4.1.18 locks up
>>
>>
>>>Once you get an OutOfMemoryError, you're in an indeterminate state.
>>
>>Configure your JVM such that you don't get OutOfMemoryErrors.  See
>>
>>>http://java.sun.com/docs/hotspot/VMOptions.html for your options.
>>
>>Sorry, but which option should i use? i seem to be blind.
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
> 
> This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged.  This e-mail
is intended only for the individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the sender.  Thank you.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message