tomcat内存配置
在tomcat-path/bin目录下创建setenv.sh,追加以下内容,通过catalina.sh run启动
export CATALINA_OPTS="$CATALINA_OPTS -Xms512m"
export CATALINA_OPTS="$CATALINA_OPTS -Xmx8192m"
export CATALINA_OPTS="$CATALINA_OPTS -XX:MaxPermSize=256m"
在tomcat-path/bin目录下创建setenv.sh,追加以下内容,通过catalina.sh run启动
export CATALINA_OPTS="$CATALINA_OPTS -Xms512m"
export CATALINA_OPTS="$CATALINA_OPTS -Xmx8192m"