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:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 11:23 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to