%TOMCAT_HOME%/bin/catalina.sh
找到这样一段:
echo "Using CATALINA_BASE: $CATALINA_BASE"
echo "Using CATALINA_HOME: $CATALINA_HOME"
echo "Using CATALINA_TMPDIR: $CATALINA_TMPDIR"
echo "Using JAVA_HOME: $JAVA_HOME"
在其后加上:
CATALINA_OPTS="$CATALINA_OPTS -Xms128m -Xmx256m -XX:MaxNewSize=256m -XX:MaxPermSize=256m $JPDA_OPTS"
JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true"
echo "Using CATALINA_OPTS: $CATALINA_OPTS"
echo "Using JAVA_OPTS: $JAVA_OPTS"
_________________________________________________________
windows下就是.bat
linux下就是.sh
posted on 2006-11-10 09:45
Derek.Guo 阅读(2188)
评论(0) 编辑 收藏 所属分类:
Java