Guest User

Untitled

a guest
Jul 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. case "$rvm_ruby_string" in
  4. ree*)
  5. # export RUBY_HEAP_MIN_SLOTS=1000000
  6. # export RUBY_HEAP_SLOTS_INCREMENT=1000000
  7. # export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
  8. # export RUBY_GC_MALLOC_LIMIT=1000000000
  9. # export RUBY_HEAP_FREE_MIN=500000
  10.  
  11. export RUBY_GC_MALLOC_LIMIT=200000000
  12. export RUBY_HEAP_MIN_SLOTS=500000
  13. export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
  14. export RUBY_HEAP_SLOTS_INCREMENT=250000
  15. echo "GC TWEAKED!"
  16. ;;
  17.  
  18. *)
  19. unset RUBY_HEAP_MIN_SLOTS RUBY_HEAP_SLOTS_INCREMENT RUBY_HEAP_SLOTS_GROWTH_FACTOR RUBY_GC_MALLOC_LIMIT RUBY_HEAP_FREE_MIN
  20. ;;
  21. esac
Add Comment
Please, Sign In to add comment