Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24968 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27820 invoked by uid 1010); 25 Jul 2006 13:45:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27804 invoked from network); 25 Jul 2006 13:45:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2006 13:45:13 -0000 X-PHP-List-Original-Sender: lsmith@php.net X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from ([212.112.227.169:50069] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 1E/92-04178-76026C44 for ; Tue, 25 Jul 2006 09:45:12 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 12318DF00CD; Tue, 25 Jul 2006 16:28:00 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (flottensignalgeber [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12708-01; Tue, 25 Jul 2006 16:27:59 +0200 (CEST) Received: from [127.0.0.1] (i577B4456.versanet.de [87.123.68.86]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 1CE26DF0001; Tue, 25 Jul 2006 16:27:59 +0200 (CEST) Message-ID: <44C6205F.4090808@php.net> Date: Tue, 25 Jul 2006 15:45:03 +0200 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Dmitry Stogov Cc: 'Matt W' , internals@lists.php.net, Andi Gutmans , Ilia Alshanetsky References: <00d601c6af9d$c18f2d30$0201a8c0@pc1> <003701c6afb1$81b87720$6e02a8c0@thinkpad> In-Reply-To: <003701c6afb1$81b87720$6e02a8c0@thinkpad> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] memory_get_usage with new Memory Manager From: lsmith@php.net (Lukas Smith) 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