Explain how you would parse a massive log file of several gigabytes without running out of system memory.