JVM X options: how to set up for tomcat4
843811Mar 11 2003 — edited Mar 14 2003hi there,
we have a Win2k server with 512MB RAM.
There's an Apache2, a Tomcat4 and an MSSQL server running, and we have three moderate-sized applications deployed on it, which all use the db.
Apache2 serves all static files, and Tomcat4 serves all the requests for dynamic resources (jsp/struts actions).
Unfortunately, we get OutOfMemoryExceptions about once a day as Tomcat keeps growing bigger and bigger .. no memory leak though, just tomcat's caching.
Is there a rule of thumb how to set the X-options for the JVM in a reasonable way ?
And: where can I find the default settings for the memory settings (Xms, Xmx, Xss) ?
Thanks heaps (and stacks),
Dennis