cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Newland" <>
Subject RE: OutOfMemoryError in apache fop/cocoon
Date Tue, 04 Dec 2001 14:07:59 GMT

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/

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,


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


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:
For additional commands, email:

To unsubscribe, e-mail:
For additional commands, email:

View raw message