title: How can I read large text files line by line, without loading them into memory?
body: <p>I want to read a large file (&gt;5GB), line by line, without loading its entire contents into memory. I cannot use <code>readlines()</code> since it creates a very large list in memory.</p>