limit output filesize that is read (or ruby memory might blow up) [ci skip]