The problem is that we try to map the entire log file to memory, which fails for very large files. Instead, we should map smaller pieces of the file.