There is a script in $CATALINA_HOME/bin/setenv.sh There is a minimum heap size and a maximum heap size.
in that file, you'll see some lines similar to this: export CATALINA_OPTS="$CATALINA_OPTS -Xms512m -Xmx2048m" -Xms is the minimum heap size. -Xmx is the maximum heap size. If the setenv.sh file is not present, you can simply create it. The catalina script will look for it and call it if it is present. Don't set the minimum and maximum to the same number. That causes problems with the garbage collector. -- Steve Kallestad On Tue, Feb 19, 2013 at 6:29 AM, Rajesh Nair <[email protected]>wrote: > ** > > How to increase java heap size in tomcat 6.0 on Solaris > _ARSlist: "Where the Answers Are" and have been for 20 years_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

