Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting JVM options for Tomcat question

Status
Not open for further replies.

Rustican

Programmer
Aug 3, 2004
4
US
I'm trying to set the maximum heap size that the JVM is able to use on my Tomcat application. I've got it running on my Linux box and am trying to follow the instructions found here:
It says for Linux: place the Java options into the CATALINA_OPTS environment variable. For example: "-server -Xmx400m".

Where do i find the the CATALINA_OPTS environment variable and how do i set it? Do i just add in the line in the the startup.sh or the catilina.sh?

EXECUTABLE=catalina.sh -server -Xmx400m
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top