++I have a medium-sized webapp, with the compiled jar coming in at 155KB
++(not to mention XML/XSL. Running Apache, Tomcat4, mod_webapp, and Cocoon2rc2
++on a Compaq Alpha with 128MB of RAM, we encountered an OutOfMemoryError on first
++loading our page (It was under development on a Athlon 1.4ghz, 512MB RAM WinXP
+system).
++After we restarted apache/tomcat, we could load the page successfully,
++but it's still running pretty slow. Does anybody know what might be contributing
++to that? I'm not talking about the quantity of hits, either; with nobody
++on the server, one click will still take a while.
++Is this a RAM problem, or have other people had problems? I've had problems
++ever since I went with Tomcat4/webapp on my XP ++system, but maybe that's my
+configuration?
Did you changed the -Xms- -Xmx JVM paramters? On a 128MB RAM machine I recommend
following
settings:
-Xms60000000 -Xmx110000000
You can set this paramters in you Tomcat (3.2.2) start skript (tomcat.bat) under
:startServer
...
%_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%" -Xms60000000 -Xmx100000000
...
Then I recommend to change following parameters in the cocoon.xconf
<store-janitor class="org.apache.cocoon.components.store.StoreJanitorImpl"
logger="root.store">
<parameter name="freememory" value="80000000"/>
<parameter name="heapsize" value="100000000"/>
<parameter name="cleanupthreadinterval" value="10"/>
<parameter name="threadpriority" value="5"/>
</store-janitor>
Maybe this helps.
So long
Gerhard
PS: Could you please send your emails in plain text!
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>