I set the TOMCAT_OPTS variable and it worked! Thank you very much
Barbara -----Original Message----- From: Marcus Crafter [mailto:[EMAIL PROTECTED]] Sent: 04 December 2001 13:30 To: [EMAIL PROTECTED] Subject: Re: OutOfMemoryError in apache fop/cocoon On Tue, Dec 04, 2001 at 01:17:32PM -0000, Barbara Slupik wrote: > 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? This needs to be set on your servlet container. For example, if you are using Tomcat 3.2.x, set the TOMCAT_OPTS environment variable or modify the $TOMCAT_HOME/bin/tomcat.sh script. Hope this helps. Cheers, Marcus -- ..... ,,$$$$$$$$$, Marcus Crafter ;$' '$$$$: Computer Systems Engineer $: $$$$: Managesoft GmbH $ o_)$$$: 82-84 Mainzer Landstrasse ;$, _/\ &&:' 60327 Frankfurt Germany ' /( &&& \_&&&&' Email : [EMAIL PROTECTED] &&&&. Business Hours : +49 69 9757 200 &&&&&&&: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]