From: rafal dot figas at rad-com dot pl Operating system: gentoo PHP version: 5.1.4 PHP Bug Type: Apache related Bug description: php does not free script memory after big script execution
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 bug report at http://bugs.php.net/?id=37412&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37412&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37412&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37412&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37412&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37412&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37412&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37412&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37412&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37412&r=support Expected behavior: http://bugs.php.net/fix.php?id=37412&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37412&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37412&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37412&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37412&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37412&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37412&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37412&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37412&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37412&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37412&r=mysqlcfg