Skip to content

Instantly share code, notes, and snippets.

@rdelcueto
Last active August 29, 2015 14:01
Show Gist options
  • Save rdelcueto/e38851b3c5b23fa6f86c to your computer and use it in GitHub Desktop.
Save rdelcueto/e38851b3c5b23fa6f86c to your computer and use it in GitHub Desktop.
Torquebox runner with JVM settings
#!/bin/bash
export JAVA_OPTS="-Xmx2048m -XX:ReservedCodeCacheSize=256m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -XX:NewRatio=3 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -Dfile.encoding=UTF-8 -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
export JRUBY_OPTS="--1.9 -J-noverify -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1"
torquebox run -b 0.0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment