Skip to content

Instantly share code, notes, and snippets.

@MGalv
Forked from rdelcueto/torquebox_run.sh
Created May 13, 2014 00:18
Show Gist options
  • Save MGalv/a9a0053ce371a04e823e to your computer and use it in GitHub Desktop.
Save MGalv/a9a0053ce371a04e823e to your computer and use it in GitHub Desktop.
#!/bin/bash
export JAVA_OPTS="-Xmx1280m -XX:ReservedCodeCacheSize=128m -XX:MaxPermSize=128m -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="--2.0 -J-noverify -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1"
torquebox run -b 0.0.0.0 --max-threads=32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment