Disk file size of 600+ MB continuously appended by multiple agents.
Below code open and reads this large size file,
def alert_entries():
    with open('large_size_file') as f:
         ....
          ....
        for entry in entry_re.findall(f.read()):
            yield entry
Machine goes slow after opening this file.
How to manage opening and reading large size file, memory efficiently?
 
    