Skip to content

Instantly share code, notes, and snippets.

@dougalcorn
Created July 6, 2011 15:19
Show Gist options
  • Save dougalcorn/1067488 to your computer and use it in GitHub Desktop.
Save dougalcorn/1067488 to your computer and use it in GitHub Desktop.
~/.rvm/hooks/after_use for JRUBY_OPTS
case "$GEM_HOME" in
*jruby*)
# -J-Djruby.reify.classes=true
# JRUBY_OPTS="-J-Djruby.reify.classes=true -J-Xmx512M -J-XX:MaxPermSize=256m -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled" ; export JRUBY_OPTS
JRUBY_OPTS="-J-Xmx1024m -J-XX:MaxPermSize=256m " ; export JRUBY_OPTS
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment