cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Newland" <chris.newl...@emorphia.com>
Subject RE: OutOfMemoryError in apache fop/cocoon
Date Tue, 04 Dec 2001 14:07:59 GMT
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:bslupik@entier-solutions.com]
Sent: 04 December 2001 13:46
To: cocoon-dev@xml.apache.org
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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message