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
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
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
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