Novell is now a part of Micro Focus

Tomcat Memory Optimization

Articles and Tips: qna

01 Sep 2002


Q.

Do you know how to optimize memory for Tomcat v4.x? There is a parameter called JAVA_OPTS in the CATALINA.BAT file, but I am not sure I am doing the right thing. I would like to do something like -Xm commands with Tomcat 3.

Hangin' with Tom in Tomcat World

A.

Dear Hangin': You may not realize this, but it is the same for Tomcat v4 as it is for Tomcat v3. The -Xms -Xmx are Java settings and are not Tomcat settings. It tells Java to reserve memory for the Java application (in this case, Tomcat v4).

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates