in reply to Re: Out of Memory
in thread Out of Memory

Your example sends zgrep's output directly to STDOUT, avoiding the need to read it using "while (<INFILE>)".

I think the OP's intent is to read and process the output of zrep, so, he should use "-|", and read it using "while(<INFILE>)".

            "XML is like violence: if it doesn't solve your problem, use more."