把TOMCAT的内存调高到最小512M,最大1G,
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 -Xms512m -Xmx1024m $JPDA_OPTS"