These settings should be changed carefully since they may adversely affect performance. The defaults should be fine for the majority of users.
Settings
ruby['heap_init_slots'] = 80000 ruby['heap_free_slots'] = 25000 ruby['malloc_limit'] = 64000000 ruby['oldmalloc_limit'] = 64000000