Skip to content
Advertisement

Tag: zlib

gzdecode() insufficient memory – size is exhausted

Do you know any solucion to unpack large .gz in php (>200 MB .gz, >4GB original… maybe in packs of >1GB or >2GB inside) ? Solucion of decode .gz part by part is needed. Code gzdecode(@file_get_contents($file)) gets PHP error: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate … of course. I cannot increase the PHP

Advertisement