Skip to content

Instantly share code, notes, and snippets.

@joshua-moore
Created February 6, 2015 01:04
Show Gist options
  • Save joshua-moore/d6bf8c8cc487a47af84d to your computer and use it in GitHub Desktop.
Save joshua-moore/d6bf8c8cc487a47af84d to your computer and use it in GitHub Desktop.
Tomcat 7 JAVA_OPTS
JAVA_OPTS="-Djava.awt.headless=true -XX:+UseConcMarkSweepGC"
JAVA_OPTS="${JAVA_OPTS} -server -noverify -Xshare:off -Xms400M -Xmx400M -XX:MaxPermSize=172M -XX:PermSize=128M"
JAVA_OPTS="${JAVA_OPTS} -Djava.net.preferIPv4Stack=true -XX:+EliminateLocks -XX:+UseBiasedLocking"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment