At work we are running Atlassian Jira and Confluence under the same JBoss 4.0.2 AS instance on Windows 2000 Server, but the heap size in the JVM that each is (or both are?) running under is set to 64 MB. We want to change this to 128 MB to give both of them more breathing room (since they run out of memory in about four hours, depending on usage).
How do we configure the heap size for the instance(s) of Tomcat that are running each WAR in its own virtual host? Setting "-Xmx128m" in ${JBOSS_HOME}/bin/run.bat doesn't help since that sets JBoss' heap size, not the heap size of the Tomcat instances.
Thanks!
Dave
As it turns out, setting -Xmx128m (maximum heap size) did help with the Tomcat instances, but we also set -Xms64m (minimum heap size) and -XX:MaxPermSize=128m (to help with the numerous classes created by JSP compilation).
Dave