please help ! tomcat 5.5 java heap error
Hi,
I am running Tomcat 5.5.16 on windows server as NT service and have run into an issue where I am getting the following message "java.lang.OutOfMemoryError: Java heap space".
I tried many options to increase this heap size (before I would get an OutOfMemoryException but now it is the "OutOfMemoryError: Java heap space" error.
What I have already tried :
1.
Defined environment variables:
JAVA_OPT=-client -server -Xms512M -Xmx512M
JAVA_OPTS=-client -server -Xms512M -Xmx512M
CATALINA_OPT=-client -server -Xms512M -Xmx512M
CATALINA_OPTS=-client -server -Xms512M -Xmx512M
2. ran tomcat5w.exe -Vmargs -Xmx512M but got an error message
3. added in the registry under -
HKEY_LOCAL_MACHINE
SOFTWARE
Apache Software Foundation
Procrun 2.0
Tomcat5
Parameters
Java
Add 4 variables:
JVM Option count = 3
JVM Option number 0 = -server
JVM Option number 1 = -Xms512m
JVM Option number 2 = -Xmx512m
** What else can be done ?
Thanks

