Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53335 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33785 invoked from network); 16 Jun 2011 16:32:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2011 16:32:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.123 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.123 smtp123.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.123] ([67.192.241.123:39217] helo=smtp123.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C6/F3-32650-B103AFD4 for ; Thu, 16 Jun 2011 12:32:28 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id AD9662A8110; Thu, 16 Jun 2011 12:32:24 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp2.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 38CA12A8100; Thu, 16 Jun 2011 12:32:24 -0400 (EDT) Message-ID: <4DFA3016.9030409@sugarcrm.com> Date: Thu, 16 Jun 2011 09:32:22 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Rasmus CC: Pascal COURTOIS , Internals Mailing List References: <8757232E56758B42B2EE4F9D2CA019C9014CE547@US-EX2.zend.net> <8757232E56758B42B2EE4F9D2CA019C9014D10DC@US-EX2.zend.net> <4DF9913B.4030404@nouvo.com> <4DF99EE8.3070204@nouvo.com> <1308216968.2406.3.camel@guybrush> <4DF9D4DF.90405@nouvo.com> <4DF9DB9B.40500@lerdorf.com> <4DF9DDAB.3000109@nouvo.com> <4DF9EC08.10600@lerdorf.com> In-Reply-To: <4DF9EC08.10600@lerdorf.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Give the Language a Rest motion (fwd) From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > I'm not saying there aren't any. There are known leaks in compile_file() > when you throw an exception like that, so if you call a huge amount of > these within a single request, you are going to have problems. But that You actually can't call huge amount of these in one request, as this particular leak is caused by bailing out from zend_execute_scripts, which causes main op array not be freed. zend_execute_scripts() is called only once, so you can't have this leak multiple times as far as I can see. Whatever caused the original problem, it's highly unlikely it is this leak. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227