Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37714 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24302 invoked from network); 18 May 2008 23:53:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2008 23:53:00 -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 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:59527] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/59-57662-A51C0384 for ; Sun, 18 May 2008 19:53:00 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 19 May 2008 02:54:03 +0300 Received: from [192.168.17.75] ([192.168.17.75]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 18 May 2008 16:54:00 -0700 Message-ID: <4830C150.9070709@zend.com> Date: Sun, 18 May 2008 16:52:48 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Manuel Mausz CC: internals@lists.php.net References: <482E8391.9080004@lerdorf.com> <48309995.4080409@suse.de> <4830B5B1.70602@lerdorf.com> <4830BACD.4000208@mausz.at> In-Reply-To: <4830BACD.4000208@mausz.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 May 2008 23:54:00.0423 (UTC) FILETIME=[718EE770:01C8B942] Subject: Re: [PHP-DEV] Curl POST emalloc leak? From: stas@zend.com (Stanislav Malyshev) Hi! > # php -n -r 'for($i=0;$i<10;$i++) { for($args="",$j=0;$j<75;$j++) $args > .= "a=$j&"; unset($args); echo memory_get_usage()."\n"; }' > 55872 > 56100 > 56172 > 56240 > 56304 > 56364 > 56420 > 56420 > 56420 > 56420 This looks like cache filling up, not a leak. Unless it doesn't stop at some boundary. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com