Skip to content

Instantly share code, notes, and snippets.

@wayneeseguin
Forked from bryanl/gist:647174
Created October 26, 2010 17:28
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wayneeseguin/647356 to your computer and use it in GitHub Desktop.
Save wayneeseguin/647356 to your computer and use it in GitHub Desktop.
export RUBY_HEAP_MIN_SLOTS=1000000
export RUBY_HEAP_SLOTS_INCREMENT=1000000
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
export RUBY_GC_MALLOC_LIMIT=1000000000
export RUBY_HEAP_FREE_MIN=500000
#!/usr/bin/env bash
# ~/.rvm/hooks/after_use
# Triggered on 'rvm use X' and 'rvm X'.
case "$rvm_ruby_string" in
ree*)
export RUBY_HEAP_MIN_SLOTS=1000000
export RUBY_HEAP_SLOTS_INCREMENT=1000000
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
export RUBY_GC_MALLOC_LIMIT=1000000000
export RUBY_HEAP_FREE_MIN=500000
;;
*)
unset RUBY_HEAP_MIN_SLOTS RUBY_HEAP_SLOTS_INCREMENT RUBY_HEAP_SLOTS_GROWTH_FACTOR RUBY_GC_MALLOC_LIMIT RUBY_HEAP_FREE_MIN
;;
esac
#!/usr/bin/env bash
# Also append to ~/.rvm/environments/<ruby env id>
# for example: ~/.rvm/environments/ree-1.8.7-2010.02
export PATH="/Users/wayne/.rvm/gems/ree-1.8.7-2010.02/bin:/Users/wayne/.rvm/gems/ree-1.8.7-2010.02@global/bin:/Users/wayne/.rvm/rubies/ree-1.8.7-2010.02/bin:/Users/wayne/.rvm/bin:$PATH"
rvm_path='/Users/wayne/.rvm'
export rvm_path
RUBY_VERSION='ree-1.8.7-2010.02'
export RUBY_VERSION
GEM_HOME='/Users/wayne/.rvm/gems/ree-1.8.7-2010.02'
export GEM_HOME
GEM_PATH='/Users/wayne/.rvm/gems/ree-1.8.7-2010.02:/Users/wayne/.rvm/gems/ree-1.8.7-2010.02@global'
export GEM_PATH
BUNDLE_PATH='/Users/wayne/.rvm/gems/ree-1.8.7-2010.02'
export BUNDLE_PATH
MY_RUBY_HOME='/Users/wayne/.rvm/rubies/ree-1.8.7-2010.02'
export MY_RUBY_HOME
IRBRC='/Users/wayne/.rvm/rubies/ree-1.8.7-2010.02/.irbrc'
export IRBRC
rvm_ruby_string='ree-1.8.7-2010.02'
export rvm_ruby_string
unset rvm_gemset_name
unset MAGLEV_HOME
export RUBY_HEAP_MIN_SLOTS=1000000
export RUBY_HEAP_SLOTS_INCREMENT=1000000
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
export RUBY_GC_MALLOC_LIMIT=1000000000
export RUBY_HEAP_FREE_MIN=500000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment