Bug #52549 [Opn->Fbk]: No 'M' in memory_limit variable returns 'Could not startup.' Possible mem leak?
| From: | mike@php.net | Date: | Fri, 06 Aug 2010 09:40:23 +0000 |
| Subject: | Bug #52549 [Opn->Fbk]: No 'M' in memory_limit variable returns 'Could not startup.' Possible mem leak? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153149@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52549&edit=1
ID: 52549
Updated by: mike@php.net
Reported by: zack_gold at yahoo dot com
Summary: No 'M' in memory_limit variable returns 'Could not
startup.' Possible mem leak?
-Status: Open
+Status: Feedback
Type: Bug
Package: PHP options/info functions
Operating System: Linux (Arch Linux)
PHP Version: 5.3.3
Block user comment: N
New Comment:
It actually is set properly, you set it to 50 bytes, which is too less
to start up.
Previous Comments:
------------------------------------------------------------------------
[2010-08-06 04:00:32] zack_gold at yahoo dot com
Description:
------------
When you put this into php.ini:
memory_limit = 50;
The output results in:
Could not startup.
There should be a notification to let you know that the memory_limit
isn't set
properly. Maybe it's possible to do memory leaking or something like
that through
this? My knowledge for memory-related stuff is one to none, but maybe
there's a
potential bug here...
Test script:
---------------
Change php.ini memory_limit to "50" like so:
memory_limit = 50;
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52549&edit=1