#37412 [Opn->Bgs]: php does not free script memory after big script execution
| From: | tony2001@php.net | Date: | Thu, 11 May 2006 18:55:29 +0000 |
| Subject: | #37412 [Opn->Bgs]: php does not free script memory after big script execution | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-96983@lists.php.net to get a copy of this message | ||
ID: 37412
Updated by: tony2001@php.net
Reported By: rafal dot figas at rad-com dot pl
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: gentoo
PHP Version: 5.1.4
New Comment:
Please read what Ilia said in the last comment to bug #36197.
Previous Comments:
------------------------------------------------------------------------
[2006-05-11 18:42:33] rafal dot figas at rad-com dot pl
Description:
------------
Similar to bug: 36197
I think that what momo says may be truth. I've experienced similar
problem. I do not now is it PHP problem or APACHE problem.
Description:
I have a big script operating on tables and objects. It needs aprox.
100MB of memory. Apache allocates memory. Script executes and finishes.
Memory is still reserved. Apache really keeps memory reserved "for
future use", but(!) here comes problem: I have a MaxFreeMem directive
set in apache config to 1KB! So as Apache documentation says it should
be freed instantly after script execution finishes (because it is
unused) but it doesn't. Either there is bug in Apache (can't check) or
PHP does not frees used memory, and apache does not know that it is
free. Please, simply check this problem, because for big scripts it
makes my machines crash. My version was exactly 5.1.2 (now it is 5.1.4
and the problem remains) and OS is gentoo. Best regards.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37412&edit=1