AW: How to increase memory

2004-07-02 Thread Gunnar Pörschke
Where do I have to add this? Also in the catalina.bat? I tested set CATALINA_OPTS=%CATALINA_OPTS% -Xms1024m -Xmx2048m in Catalona.bat as mentioned from Thilo Krawietz' email. Still it seems to be very slow. Thank you Gunnar -Ursprüngliche Nachricht- Von: alu, artifex [mailto:[EMAIL

Re: AW: How to increase memory

2004-07-02 Thread Pete Stokes
CATALINA_OPTS=%CATALINA_OPTS% -Xms1024m -Xmx2048m note quotes (need that ammendment in Linux, try something similar for Window$e if needed..) Also, if you put a -Xloggc:/usr/local/tomcat/logs/gc.log (check syntax with java -X help) do Xloggc before and after changing memory size, then

Re: AW: How to increase memory

2004-07-02 Thread alu, artifex
as i stated before: try adding the following line in the startup.bat file set JAVA_OPTS=-Xms32m -Xmx512m you can add it at the very first line, before (or shortly after) the @echo off statement. Still it seems to be very slow. maybe you don't face memory problems. you can use windows task

Re: AW: How to increase memory

2004-07-02 Thread Thilo Krawietz
Hi Gunnar, if you added these options in CATALINA_OPTS, its not necessary to place it also in JAVA_OPTS. Both variables are attached to 'java' command at the bottom of catalina.bat (you can see this in the bottom of catalina.bat at the line commencing with the %EXECJAVA% statement) But if this