Hi,
I started getting "java.lang.OutOfMemoryError:
Java heap space" when my application starts up in
Tomcat. As suggested I modified the catalina.bat file (running on Windows, not as service) and added the following...
set CATALINA_OPTS=-Xms256m -Xmx1024m
But the error keeps coming. I am not sure if this is because I did not configure the batch file correctly or because my app really needs even more memory than this.
Is there anyway to make Tomcat print out how much memory it has? Or else do you have any other suggestions on how to make this error go way?
Thanks in advance for any help.