#dopisaæ w pliku /etc/conf.d/tomcat-6 # (Optional) Java runtime options used when the "start", "stop", or "run" # commands are executed. MEMORY_OPTS="-Xms1g -Xmx1g -XX:PermSize=128m -XX:MaxPermSize=128m" # SMALL #MEMORY_OPTS="-Xms512m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=64m" # MEDIUM #MEMORY_OPTS="-Xms2g -Xmx2g -XX:PermSize=128m -XX:MaxPermSize=128m" # BIG #MEMORY_OPTS="-Xms4g -Xmx4g -XX:PermSize=128m -XX:MaxPermSize=128m" # HUGE #MEMORY_OPTS="-Xms22g -Xmx22g -XX:PermSize=256m -XX:MaxPermSize=256m" TIMEZONE=Europe/Warsaw LANGUAGE=pl COUNTRY=PL # Remember to add following lines to /etc/security/limits.conf # tomcat soft nofile 40960 # tomcat hard nofile 65536 JAVA_OPTS="$MEMORY_OPTS -Duser.timezone=$TIMEZONE -Duser.language=$LANGUAGE -Duser.country=$COUNTRY -Djava.awt.headless=true -Dsun.net.inetaddr.ttl=300"