From: benoit at bh-services dot net Operating system: WIN XP SP2 PHP version: 4.3.11 PHP Bug Type: Apache2 related Bug description: FATAL: emalloc(): Unable to allocate xxxxxxxx bytes.
Description: ------------ Hi, I've exactly the same error: FATAL: emalloc(): Unable to allocate 1667330172 bytes. I use PHP 4.3.8 on a WinXP SP2 server with 1 Gig of memory. I also tried with PHP 4.3.11 and this is the same problem. Apache version is Apache/2.0.46 (Win32). This is a development server and I'm the only one user to use it. This happens when I use references on objects. I guess this is because sometimes the objects are passed by references and sometimes by copy. I've a framework to manage a very complex application, and I need to always have the real object and not a copy of this one. I can't use PHP 5 because this is on a production server used by different applications and this is not possible to migrate it. I really don't know how my PHP script needs about 1 Gig of memory. Also I've no way to give you more information to fix it. Thanks, Benoit Heinrich. -- Edit bug report at http://bugs.php.net/?id=34173&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34173&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34173&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34173&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34173&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34173&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34173&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34173&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34173&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34173&r=support Expected behavior: http://bugs.php.net/fix.php?id=34173&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34173&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34173&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34173&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34173&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34173&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34173&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34173&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34173&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34173&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34173&r=mysqlcfg
