You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hans Steinraht <ha...@artofakt.com> on 2003/12/12 16:20:12 UTC

setting opts to avoid OutOfMemory errors

Maybe someone can help me out with some questions I have to avoid the
OutOfMemory errors that I have from time to time

The computer where Tomcat, version 4.1.24, is running is a linux machine wit 500M memory
and j2sdk1.4.1.

I have read in this newsgroup that the solutions to avoid OutOfMemory errors 
is to set the initial size of the memory allocation pool Xms to a value and also the max size Xmx.

In this I have to questions:
	1. what are the best values? 
	2. happends when I set the values to high?

I have tried running tomcat with JAVA_OPTS="-Xms64m -Xmx256m", but the
problem still occurs, so can I set Xmx to 500m, but what is than happening
with the memory left (maybe there isn't) for tha other applications on thie
machine.

I hope someone can clear things a bit up for me,
Hans






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