title: How to tune Garbage Collection in Ruby?
body: <p>i am working on a ruby project. and i used tunemygc gem to get some optimal settings for my app. </p>
  
  <pre><code>RUBY_GC_HEAP_INIT_SLOTS 220886
  RUBY_GC_HEAP_FREE_SLOTS 3378483
  RUBY_GC_HEAP_GROWTH_FACTOR  1.03
  RUBY_GC_HEAP_GROWTH_MAX_SLOTS   478
  RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR 2.0
  RUBY_GC_MALLOC_LIMIT    16777216
  RUBY_GC_MALLOC_LIMIT_MAX    30198989
  RUBY_GC_MALLOC_LIMIT_GROWTH_FACTOR  1.32
  RUBY_GC_OLDMALLOC_LIMIT 16777216
  RUBY_GC_OLDMALLOC_LIMIT_MAX 30198989
  RUBY_GC_OLDMALLOC_LIMIT_GROWTH_FACTOR   1.2
  </code></pre>
  
  <p>but i don't know how to config my garbage collection with these settings.</p>