Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24970 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46867 invoked by uid 1010); 25 Jul 2006 14:37:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46851 invoked from network); 25 Jul 2006 14:37:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2006 14:37:02 -0000 Authentication-Results: pb1.pair.com header.from=iliaal@gmail.com; domainkeys=good DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: iliaal@gmail.com X-Host-Fingerprint: 64.233.184.228 wr-out-0506.google.com Linux 2.4/2.6 Received: from ([64.233.184.228:47993] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 53/E3-04178-C4626C44 for ; Tue, 25 Jul 2006 10:10:21 -0400 Received: by wr-out-0506.google.com with SMTP id i22so788762wra for ; Tue, 25 Jul 2006 07:10:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:from:subject:date:to:x-mailer:sender; b=C2f1Ghb6NQw7x74j94BsYyRuKU8pU8q6Acb7duQcNDPImkNB02u4zwynH0vSYV2yukxAf56zQ1gpRK3KArwImTRL67dyH2bZwxrdoIYOgXz70Zqos4UvmoqZymVyaQpFKfKbELwFSJyFO3RTwkYEMQU0PF7lJtKi1OBxB5MXcrA= Received: by 10.65.228.5 with SMTP id f5mr5262538qbr; Tue, 25 Jul 2006 07:10:17 -0700 (PDT) Received: from ?192.168.1.6? ( [72.59.8.142]) by mx.gmail.com with ESMTP id 1sm667385qbh.2006.07.25.07.10.16; Tue, 25 Jul 2006 07:10:16 -0700 (PDT) In-Reply-To: <44C6205F.4090808@php.net> References: <00d601c6af9d$c18f2d30$0201a8c0@pc1> <003701c6afb1$81b87720$6e02a8c0@thinkpad> <44C6205F.4090808@php.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/alternative; boundary=Apple-Mail-20--564246288 Message-ID: Cc: Dmitry Stogov , 'Matt W' , internals@lists.php.net, Andi Gutmans Date: Tue, 25 Jul 2006 10:10:12 -0400 To: Lukas Smith X-Mailer: Apple Mail (2.752.2) Sender: Ilia Alshanetsky Subject: Re: [PHP-DEV] memory_get_usage with new Memory Manager From: ilia@prohost.org (Ilia Alshanetsky) --Apple-Mail-20--564246288 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed The idea of a memory limit is to as accurately as possible account for the memory utilized by PHP. If our current calculation is more accurate since it accounts for malloc overhead, great, it gives more fine grained control to hosters utilizing this option. On 25-Jul-06, at 9:45 AM, 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? > > regards, > Lukas > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Ilia Alshanetsky --Apple-Mail-20--564246288--