in reply to Searching within compressed files

If you are using gzopen and gzread($buffer) you should not be running out of memory. as you will get data in 4096 byte blocks.
-- gam3
A picture is worth a thousand words, but takes 200K.