Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24969 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33293 invoked by uid 1010); 25 Jul 2006 13:49:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 33278 invoked from network); 25 Jul 2006 13:49:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2006 13:49:19 -0000 X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:25994] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 33/63-04178-D5126C44 for ; Tue, 25 Jul 2006 09:49:19 -0400 Received: (qmail 15596 invoked from network); 25 Jul 2006 13:48:14 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 25 Jul 2006 13:48:14 -0000 Message-ID: <44C62F59.9080001@zend.com> Date: Tue, 25 Jul 2006 17:48:57 +0300 User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: Lukas Smith CC: Dmitry Stogov , 'Matt W' , internals@lists.php.net, Andi Gutmans , Ilia Alshanetsky References: <00d601c6af9d$c18f2d30$0201a8c0@pc1> <003701c6afb1$81b87720$6e02a8c0@thinkpad> <44C6205F.4090808@php.net> In-Reply-To: <44C6205F.4090808@php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] memory_get_usage with new Memory Manager From: antony@zend.com (Antony Dovgal) On 25.07.2006 16:45, Lukas Smith wrote: > 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? Agree. -- Wbr, Antony Dovgal