This shows you the differences between two versions of the page.
|
сервис_tomcat [2017/04/13 15:16] val создано |
сервис_tomcat [2017/05/02 12:46] (current) val |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| <code> | <code> | ||
| # cp target/cas.war /var/lib/tomcat8/webapps/ | # cp target/cas.war /var/lib/tomcat8/webapps/ | ||
| + | |||
| + | # cat /usr/share/tomcat8/bin/setenv.sh | ||
| + | export CATALINA_OPTS="$CATALINA_OPTS -Xms512m" | ||
| + | export CATALINA_OPTS="$CATALINA_OPTS -Xmx4096m" | ||
| + | export CATALINA_OPTS="$CATALINA_OPTS -XX:MaxPermSize=256m" | ||
| </code> | </code> | ||