1 Reply Latest reply on Sep 26, 2005 1:49 PM by David Kilzer

    Setting Tomcat heap size in virtual hosts on JBoss 4.0.2

    David Kilzer Newbie

      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