AnsweredAssumed Answered

Increase heap size tomcat 5 running as service

Question asked by loggheci on Jul 19, 2006
Working on Windows 2002 server
Tomcat 5 (running as service)
Alfresco 1.3

I tried to increase the heapsize …
But neither changing catalina.bat   (adding in the begin of the file JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx768m, idem for CATALINA_OPTS) or the one that is used when running tomcat as a service, service.bat (changing the line %EXECUTE%… with –JvmMs 256 –JvmMx768) in /tomcat/bin had any effects…

I found an other suggestion on the internet: add the environment variable JAVA_OPTS via my computer - advanced properties. I still had the heap problem (in the log file)

Wat worked is changing the registry via REGEDIT and changing the keys JvmMs and JvmMx in the registry to the values I wanted