Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53318 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70741 invoked from network); 16 Jun 2011 08:05:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2011 08:05:27 -0000 Authentication-Results: pb1.pair.com header.from=Pascal.Courtois@nouvo.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=Pascal.Courtois@nouvo.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nouvo.com from 213.186.62.62 cause and error) X-PHP-List-Original-Sender: Pascal.Courtois@nouvo.com X-Host-Fingerprint: 213.186.62.62 ks31594.kimsufi.com Received: from [213.186.62.62] ([213.186.62.62:49271] helo=parthenis.mjtv-online.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FA/0B-24246-549B9FD4 for ; Thu, 16 Jun 2011 04:05:27 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by parthenis.mjtv-online.com (Postfix) with ESMTP id E6123FC099; Thu, 16 Jun 2011 10:05:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mjtv-online.com Received: from parthenis.mjtv-online.com ([127.0.0.1]) by localhost (ks31594.kimsufi.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j1oTZus9z0Ue; Thu, 16 Jun 2011 10:05:22 +0200 (CEST) Received: from [192.168.0.205] (lns-bzn-47f-62-147-131-15.adsl.proxad.net [62.147.131.15]) by parthenis.mjtv-online.com (Postfix) with ESMTPA; Thu, 16 Jun 2011 10:05:21 +0200 (CEST) Message-ID: <4DF9B942.90603@nouvo.com> Date: Thu, 16 Jun 2011 10:05:22 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Stas Malyshev CC: PHP Developers Mailing List References: <8757232E56758B42B2EE4F9D2CA019C9014CE547@US-EX2.zend.net> <8757232E56758B42B2EE4F9D2CA019C9014D10DC@US-EX2.zend.net> <4DF9913B.4030404@nouvo.com> <4DF99368.2040508@sugarcrm.com> <4DF99949.1070601@nouvo.com> <4DF99E50.8040704@sugarcrm.com> <4DF9A4E7.5090605@nouvo.com> <4DF9B73A.90107@sugarcrm.com> In-Reply-To: <4DF9B73A.90107@sugarcrm.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Give the Language a Rest motion (fwd) From: Pascal.Courtois@nouvo.com (Pascal COURTOIS) Le 16/06/2011 09:56, Stas Malyshev a écrit : > On 6/15/11 11:38 PM, Pascal COURTOIS wrote: >> as I said earlier, test case was reduced to: > > The leaks you'll be seeing in this code is probably caused by the > fact that main function (i.e. global context) is not destroyed when > exit() is called, since . It can be argued as a bug, but very minor > one and totally unlikely to cause any problems both because the leak > is minuscule and the fact that memory manager will clean it up anyway > on shutdown. If you call "minuscule" a leak that requires more than 128Mb as it normally requires about 4Mb, then it's minuscule but whatever you name it it just does not run. > I would have very hard time believing this very > short-time leak can cause any problems in any production code. It does