I installed version 5.5 and
java 1.5 on a system running windows server 2003 with 1.5G of RAM. I created a system environment variable JAVA_OPTS = -Xms128m -Xmx512m to set the initial heap size to 128M and the maximum to 512M. After creating the variable, I restarted the
tomcat service. Despite this, my
servlet is running out of memory. I added code to the init method to log the total memory and free memory available to the JVM
Total memory 6.6650112E7
Free memory 2.2165176E7
The total memory indicates that it is still set to 64M. How do I increase it?