Created
June 19, 2009 22:54
-
-
Save benders/132934 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/sh | |
# | |
# Settings from Evan Weaver | |
# http://blog.evanweaver.com/articles/2009/04/09/ruby-gc-tuning/ | |
# | |
RUBY_HEAP_MIN_SLOTS=500000 | |
RUBY_HEAP_SLOTS_INCREMENT=250000 | |
RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 | |
RUBY_GC_MALLOC_LIMIT=50000000 | |
export RUBY_HEAP_MIN_SLOTS RUBY_HEAP_SLOTS_INCREMENT RUBY_HEAP_SLOTS_GROWTH_FACTOR RUBY_GC_MALLOC_LIMIT | |
exec "/opt/ree/bin/ruby" "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment