Skip to content

Instantly share code, notes, and snippets.

#!/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