Hi,

If you are running Cocoon inside a servlet engine (such as Tomcat) then
increasing the memory available to the servlet engine JVM will increase the
memory available to Cocoon.

For Tomcat 4.0 (catalina) you should set the environment variable
CATALINA_OPTS="-Xms64M -Xmx320M"
in the servlet engine startup script <tomcat dir>/bin/catalina.sh

Tomcat 3.x has a similar environment variable TOMCAT_OPTS which should be
set in its startup file.

If you are using Windows then search in the <tomcat dir>\bin directory for
the .bat file that starts the servlet engine and add the JVM stack switches.

Best Regards,

<Chris/>

-----Original Message-----
From: Barbara Slupik [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2001 13:46
To: [EMAIL PROTECTED]
Subject: OutOfMemoryError in apache fop/cocoon


Hello

I am using Apache fop-0_20 and Cocoon 2. I have OutOfMemoryError in fop for
a large
document. When I run it from the Windows command line I added:

java -Xms64M -Xmx320M ....

and this fixed the memory problem.

How to do the same in cocoon?

Barbara Slupik


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to