in reply to is this the most efficient way to double-parse a large file?
One possibility might be to split your log file into client-specific files as you parse your log file, so that when you hit the limit for a client, you can just use the file related to that client.