Tunemygc2x TuneMyGC optimal MRI Ruby 2.1+ Garbage Collection

App discourse ActionController on Ruby 2.2.0


234MB
peak memory usage
0.059s
Per request (842 total)
0.029s
stdev (842 requests)

Suggested GC config (recommended based on 1762 samples)  

(You have some GC variables set already - our tuner currently don't respect existing values)

Variable Suggested Existing
RUBY_GC_HEAP_INIT_SLOTS 319005 997339
RUBY_GC_HEAP_FREE_SLOTS 235863 626600
RUBY_GC_HEAP_GROWTH_FACTOR 1.03 1.03
RUBY_GC_HEAP_GROWTH_MAX_SLOTS 54670 88792
RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR 1.2 2.4
RUBY_GC_MALLOC_LIMIT 38845394 34393793
RUBY_GC_MALLOC_LIMIT_MAX 69921709 41272552
RUBY_GC_MALLOC_LIMIT_GROWTH_FACTOR 1.32 1.32
RUBY_GC_OLDMALLOC_LIMIT 39339204 39339204
RUBY_GC_OLDMALLOC_LIMIT_MAX 70810567 47207045
RUBY_GC_OLDMALLOC_LIMIT_GROWTH_FACTOR 1.2 1.2