#40422 [NEW]: script breaks memory limit
| From: | mb at nasa30 dot com | Date: | Fri, 09 Feb 2007 23:16:51 +0000 |
| Subject: | #40422 [NEW]: script breaks memory limit | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-108646@lists.php.net to get a copy of this message | ||
From: mb at nasa30 dot com
Operating system: Windows 2003 server standart
PHP version: 5.2.1
PHP Bug Type: Reproducible crash
Bug description: script breaks memory limit
Description:
------------
My simple benchmark script breaks the memory limit what it did never
before. I tested it on my w2k3 server. I normaly use 8 MB as memory
limit. which is enough for my apps. But Now the script end in a fatal
error even when I set it up to 64 MB.
Reproduce code:
---------------
http://www.source-center.de/forum/showthread.php?t=27651
Expected result:
----------------
Finish: 1171062920 Result: 10 sekunden
Actual result:
--------------
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to
allocate 256 bytes) in C:\server2\www\benchmark.php on line 115
--
Edit bug report at http://bugs.php.net/?id=40422&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40422&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40422&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40422&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40422&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40422&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40422&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40422&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40422&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40422&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40422&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40422&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40422&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40422&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40422&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40422&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40422&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40422&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40422&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40422&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40422&r=mysqlcfg