From: Operating system: irrelevant PHP version: 5.3.5 Package: PHP options/info functions Bug Type: Feature/Change Request Bug description:memory_limit 4G limit?
Description: ------------ if memory_limit set to 4096M, Segfault. Test script: --------------- memory_limit = 4096M Expected result: ---------------- [root@server]# php -v PHP 5.3.5 (cli) (built: Feb 28 2011 22:46:15) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies Actual result: -------------- [root@server]# php -v Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 34816 bytes) in Unknown on line 0 Segmentation fault -- Edit bug report at http://bugs.php.net/bug.php?id=54201&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54201&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54201&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54201&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54201&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54201&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54201&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54201&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54201&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54201&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54201&r=support Expected behavior: http://bugs.php.net/fix.php?id=54201&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54201&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54201&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54201&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54201&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=54201&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54201&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54201&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54201&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54201&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54201&r=mysqlcfg