You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Barbara Slupik <bs...@entier-solutions.com> on 2001/12/04 14:45:39 UTC

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


RE: OutOfMemoryError in apache fop/cocoon

Posted by Barbara Slupik <bs...@entier-solutions.com>.
I set TOMCAT_OPTS and it worked!

Thanks,

Barbara


-----Original Message-----
From: Chris Newland [mailto:chris.newland@emorphia.com]
Sent: 04 December 2001 14:08
To: cocoon-dev@xml.apache.org
Subject: RE: OutOfMemoryError in apache fop/cocoon


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




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


RE: OutOfMemoryError in apache fop/cocoon

Posted by Chris Newland <ch...@emorphia.com>.
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