I had the same problem...

I found this solution that works for me.
On windows i used regedit and modified the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat Service Manager\Tomcat5\Parameters
and added -Xmx512m to improve to 515m.
This for the service:
If tomcat is running from catalina.bat the i added -Xmx512m after the expressione %_EXECJAVA%


I hope this will help

Massimiliano Cantoni



Derek Hohls wrote:

Running: Cocoon 2.1.5; Tomcat/4.1.29; Java 1.4.2; WindowsXP

I keep bumping my head into memory problems with *some*
Cocoon operations. See the log snippet below - I am trying to
serialize a SVG file to JPEG -> the process works fine when
the file sizes are from 1-250k. As files gets larger (300-500k), I eventually get the dreaded java.lang.OutOfMemoryError message
in the Tomcat server log. In fact, in some cases Cocoon *can* process the larger file, but as soon as I hit 'refresh' the memory overflows.


If I use the Windows task Manager; it seems that Tomcat is not
using more than about 132MB... the settings for Java *should* allow
it to use up to 256MB... ie. CATALINA_OPTS is set to: -Xms64m -Xmx256m -Dfile.encoding=ISO-8859-1 -DproxySet=true
-DproxyPort=3128
When I run other processes through Cocoon e.g. some of the samples
then the memory usage can hit about 147MB.


Any assistance with this is gratefully appreciated.

Thanks
Derek


begin:vcard
fn:Massimiliano Cantoni
n:Cantoni;Massimiliano
org:Assicom S.p.a. -  Via De Cocule 33043 BUIA(UD), tel. 0432/9683;CED
adr;dom:;;Via De Cocule;BUIA;UD;33043
email;internet:[EMAIL PROTECTED]
tel;work:0432/9683
x-mozilla-html:TRUE
version:2.1
end:vcard


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

Reply via email to