|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-08-14 06:47 UTC] tony2001@php.net
[2006-08-22 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 02:00:01 2025 UTC |
Description: ------------ This is the following errors. I have changed the memory limit in PHP.ini to 512M (The server has 4 GB RAM), but it is no help. Matched and Compressing E:\bb_dp\STB060314.TXT Matched and Compressing E:\bb_dp\STB060322.txt Matched and Compressing E:\bb_dp\STB060323.txt ...... Each of the TXT file is nearly 200M, and there is about 10-15 files to be zipped into a zip file. FATAL: emalloc(): Unable to allocate 266092661 bytes Thanks. Reproduce code: --------------- Here are some of the source code... $zipfile= new ss_zip('',9); echo "Matched and Compressing " . $con . "\n"; foreach ($currentFileList as $id => $con) { $zipfile->add_file($con); } Expected result: ---------------- No error.. Actual result: -------------- While creating the zip file, it has an error FATAL: emalloc(): Unable to allocate 266092661 bytes