Massimiliano Thanks, I will try this - just one question re the regedit - under the Apache Software Foundation folder, I have two subfolders ... Tomcat Service Manager Tomcat must I add a new folder called Tomcat5? Must I add a folder called Parameters? And what is the name/type/data for the key that needs to be added?
Thanks Derek >>> [EMAIL PROTECTED] 2005/02/02 11:42:21 AM >>> 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
