-
-
Save csfrancis/ae59547804aedb82016d to your computer and use it in GitHub Desktop.
Shopify Ruby 2.1 GC tunings
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
export RUBY_GC_OLDMALLOC_LIMIT=128000000 | |
export RUBY_GC_MALLOC_LIMIT=128000000 | |
export RUBY_GC_HEAP_SLOTS_GROWTH_FACTOR=1.25 | |
export RUBY_GC_HEAP_GROWTH_MAX_SLOTS=300000 | |
export RUBY_GC_HEAP_INIT_SLOTS=1600000 | |
export RUBY_GC_HEAP_FREE_SLOTS=600000 | |
export RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment