removed unnecessary error lines when the memory limit is close