Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28254 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13776 invoked by uid 1010); 5 Mar 2007 23:01:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13760 invoked from network); 5 Mar 2007 23:01:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Mar 2007 23:01:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:32333] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/38-16561-B41ACE54 for ; Mon, 05 Mar 2007 18:01:32 -0500 Received: from [127.0.0.1] ([192.168.16.109]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 5 Mar 2007 15:01:29 -0800 Message-ID: <45ECA147.8080006@zend.com> Date: Mon, 05 Mar 2007 15:01:27 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: Brian Moon CC: internals@lists.php.net References: <45EC8CE9.8020807@dealnews.com> In-Reply-To: <45EC8CE9.8020807@dealnews.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Mar 2007 23:01:29.0157 (UTC) FILETIME=[357FDF50:01C75F7A] Subject: Re: [PHP-DEV] The way the engine works? From: stas@zend.com (Stanislav Malyshev) 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/