Last active
August 29, 2015 14:01
-
-
Save rdelcueto/e38851b3c5b23fa6f86c to your computer and use it in GitHub Desktop.
Torquebox runner with JVM settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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