Re: The way the engine works?
| From: | Stanislav Malyshev | Date: | Mon, 05 Mar 2007 23:01:27 +0000 |
| Subject: | Re: The way the engine works? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28254@lists.php.net to get a copy of this message | ||
I think what is happening is that the Engine caches small-sized memory blocks and does not really free them when they are deallocated, even when they are not referenced anymore. The cache size is limited, so I don't think you need to be concerned. If you still think it is a big problem for you, you could set USE_ZEND_ALLOC environment variable to 0 and have the engine user regular malloc/free. Note that this would probably harm your performance.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/