Skip to content

Instantly share code, notes, and snippets.

@kisai
Forked from rdelcueto/torquebox_run.sh
Created May 30, 2014 09:12
Show Gist options
  • Save kisai/75a00e826ce690b7fd65 to your computer and use it in GitHub Desktop.
Save kisai/75a00e826ce690b7fd65 to your computer and use it in GitHub Desktop.
#!/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