Re: [ZEND-ENGINE-CVS] cvs: Zend / zend.czend.hzend_config.nw.h
| From: | Derick Rethans | Date: | Wed, 08 Jan 2003 06:57:20 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: Zend / zend.czend.hzend_config.nw.h | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-769@lists.php.net to get a copy of this message | ||
On Tue, 7 Jan 2003, Ananth Kesari wrote:
> Gentlemen,
>
> Thanks for your responses. Understood the idea behind having the memory
> leaks in PHP:
> - Operating system will clean them up.
> - To reduce the overhead of tracking memory allocation which may be no
> point since the operating system cleans them up anyway.
> - A small performance upgrade in CGI environment when free is not
> done.
>
> But, just wanted to know when does the operating system be kicked in to
> do the clean up? Is it after the script execution is all done or does it
> happen even while the script is running? Also, how do we tell the
> operating system when to kick in to do the clean up?
We really dont tell the OS to do that, it's just that when a process
ends the OS frees all associated resources (including memory).
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions http://www.jdimedia.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------