in reply to Best way to search large files in Perl

I've never used zgrep but I think the file has to be unzipped completely and cached before being processed.

You are most likely running into some kind of swapping issues because one of the many pipe buffers is exceeded.

Easiest solution: break up the log into several smaller ones.

Not a perl question and rather common sense.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re: Best way to search large files in Perl