You can reduce the risk of running out of
memory by setting a larger heap size
and reducing the stack size of each
thread.
You
can set options for tomcat by adding a new enviornment
variable.
This
will allocate 512 MB of heap when tomcat starts up. I had to do this
once.
TOMCAT_OPTS= -Xmx512m
or
TOMCAT_OPTS= -Xmx512m; -Xss64k
which
sets the heap to 512MB and the stacksize to 64KB.
Hope
that helps...
