Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76291 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5538 invoked from network); 31 Jul 2014 14:23:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jul 2014 14:23:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.172 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.217.172 mail-lb0-f172.google.com Received: from [209.85.217.172] ([209.85.217.172:37214] helo=mail-lb0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/C3-08276-A615AD35 for ; Thu, 31 Jul 2014 10:23:40 -0400 Received: by mail-lb0-f172.google.com with SMTP id z11so2073175lbi.17 for ; Thu, 31 Jul 2014 07:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=AUaQZqCcNSSWWJnWek3a/AjfZ/a3uvFwp+DMCuQrsmI=; b=MlEFqfrs8R1CrbY2Cyl8HoDqMlFNplbUAUbfeaAnP1FCzOnOg5R1VK59Ji9Tkf/sPo MNm0RLrHT+VoPm6e2udhf9TP1nKBNf18txCI0EJQwq5XjcQNtZvncjo2WT5Pz/cD1lgY i3NriXy4I2k2H5cGnIyqFtzS7UPsh/EfsozKiQ+lZ5Tb3xNeLr3VbUALRKkmsaXZVOL8 hGZ/etmLHB6zGMMmS51NFSmmqSF1BnjlheTnGA2yzD1X38F2FNH3zDEI7aEI2GZ5wbLt tA4YHE2SueMc3E9BjWU/beGEIo+T3rYGwLAXDmGYg42xC6Or+SpU+tsT7vruZHIQ8wpj CA/Q== X-Received: by 10.153.6.7 with SMTP id cq7mr12548290lad.9.1406816633743; Thu, 31 Jul 2014 07:23:53 -0700 (PDT) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.114.187.72 with HTTP; Thu, 31 Jul 2014 07:23:33 -0700 (PDT) In-Reply-To: References: <25.82.08559.C1852D35@pb1.pair.com> Date: Thu, 31 Jul 2014 22:23:33 +0800 X-Google-Sender-Auth: NRSyE4EYZDi1n_XKwps21wnbd1g Message-ID: To: Pascal Chevrel , Dmitry Stogov Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Reporting bugs for phpng From: laruence@php.net (Laruence) Hey: On Thu, Jul 31, 2014 at 8:29 PM, Pascal Chevrel wr= ote: > Le 26/07/2014 04:42, Laruence a =C3=A9crit : > >> Hey: >> >> On Fri, Jul 25, 2014 at 9:14 PM, Pascal Chevrel >> wrote: >>> >>> Hi, >>> >>> I tried the .deb package for phpng that Zend provides since yesterday >>> (thanks for that!) and I hit a memory consumption issue with the first = of >>> my >>> scripts I tried: >>> >>> PHPNG: >>> Memory peak: 62914560 (55.97MB) >>> Elapsed time (s): 0.3383 >>> >>> PHP 5.5: >>> Memory peak: 1835008 (1.64MB) >>> Elapsed time (s): 0.0717 >>> >>> How/where can I make a bug report about it? Is https://bugs.php.net/ ok >>> for >>> PHPNG bugs? >> >> PHPNG is not listed in bugs.php.net yet. but as it's a branch of PHP >> , I think it's okey to report it there, and note it's PHPNG in the >> comment. for now. >> >> thanks > > > Hi, > > I opened this bug: > https://bugs.php.net/bug.php?id=3D67725 > > I put a testcase triggering the memory leak in a github repo referenced i= n > the bug. I am afraid this is not a bug. it's due to our new immutable array implementation. all these langs map array are constant array, such it will be treat as immutable array, which means it will not be released untill the request shutdown. (which will bring significant performance improvement for saving array construct/destruct while use with opcache) I suggest you to increase the memory_limit as a workaround .. Anyway, Dmitry, what do you think? maybe something like interned_string_si= ze? thanks > > Regards > > > Pascal > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --=20 Laruence Xinchen Hui http://www.laruence.com/