I have a server for runnig Tomcat 4.0.1, and sometimes it's catalina.out
said printed java.lang.OutOfMemoryError.
And i know from java manual pages, we can set the memory allocation for
JVM with option -Xmsn -Xmxn etc.
The problem is, where we put this option in Tomcat 4.0.1 configuration
In the catalina.bat or catalina.sh set the variable CATALINA_OPTS
On Windows I would do:
set CATALINA_OPTS=-Xms64M -Xmx256M
to set a minimum of 64 MB and a maximum of 256 MB RAM. You should do this
at the beginning of the file.
HTH
Thomas
At 22.01.2002 15:50, you wrote:
I have a server