Re: memory_get_usage with new Memory Manager
| From: | Lukas Smith | Date: | Tue, 25 Jul 2006 13:45:03 +0000 |
| Subject: | Re: memory_get_usage with new Memory Manager | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-24968@lists.php.net to get a copy of this message | ||
Dmitry Stogov wrote:
Right now memory_get[peak_]usage() show the amount of REAL memory that PHP (Zend Memory Manager) takes from system. Previous memory manager showed size of emalloc()-ed memory without malloc() overhead. Also it didn't consider internal caches.Shouldn't we make the old behavior the default here? regards, Lukas