Hi,
I know there are several memory types that Tomcat uses when running.
The only I have ever used - java heap. It can be controlled through JAVA_OPTS env property with something like '-Xmx128M -Xms64M'
I have found that there is also -XX:MaxPermSize, -XX:MaxNewSize and etc.
The reason I'm asking is that I'm trying to launch Tomcat5.5 on 200Mb RAM memory (it is VPS server). I have setup java heap size with '-Xmx128M -Xms64M', but it seems that right from startup it consumes more than that (if ever can start. Sometimes startup fails right off the bat with OutOfMemoryException), with no applications have been deployed
Noticable thing is that if I launch maven's tomcat plugin, it works just fine. Only separate tomcat fails with memory.
Thanks in advance for your ideas.