Improve responsiveness when encountering large log files