spillLimit changed to MAX to avoid bugs with disk buffering