Tweak ruby memory usage