Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76299 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45602 invoked from network); 31 Jul 2014 20:17:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jul 2014 20:17:54 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.174 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.174 mail-ob0-f174.google.com Received: from [209.85.214.174] ([209.85.214.174:47528] helo=mail-ob0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/34-09748-174AAD35 for ; Thu, 31 Jul 2014 16:17:53 -0400 Received: by mail-ob0-f174.google.com with SMTP id vb8so1939725obc.5 for ; Thu, 31 Jul 2014 13:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=u3WNV5R2Tgn4M+nHdDJnJyx1kZwuq4EusA/7ioXyMAI=; b=nIbAOnFMzAjtuh4gheyfV2tvjzhaQ3ZBBkhDvEd9F6ZMSdULf5u09gpLo1MHMA1G5E zv2fpd1Ws8x5+ssW1803VoXxaNM4Sl6cDriFpROQfWarBKsHfL0jXSr27CgL0iw9Ecrh xrIZWC3tjz9JvN1njI7zW4pWJkTyvoJIX/UMC0owS7aCV4uX681peZ/eQU/mHvddBT1Y eShSJ09wsPXhiH/cMzzzdG70teZVoX8S1k4J5x0et65O1UAqNe4DF6R2c5DjjpgST5rX BWbcokmVyBLtL11NcPilqoP7p7z5LQaf63LmiK4lZErfs/1MtjFav6wUpHmiONte8Nxb +1pA== MIME-Version: 1.0 X-Received: by 10.60.23.39 with SMTP id j7mr968471oef.20.1406837889092; Thu, 31 Jul 2014 13:18:09 -0700 (PDT) Received: by 10.182.132.2 with HTTP; Thu, 31 Jul 2014 13:18:09 -0700 (PDT) In-Reply-To: References: <25.82.08559.C1852D35@pb1.pair.com> Date: Thu, 31 Jul 2014 22:18:09 +0200 Message-ID: To: Laruence Cc: Pascal Chevrel , Dmitry Stogov , PHP Internals Content-Type: multipart/alternative; boundary=047d7b33d500a302da04ff82f882 Subject: Re: [PHP-DEV] Reporting bugs for phpng From: nikita.ppv@gmail.com (Nikita Popov) --047d7b33d500a302da04ff82f882 Content-Type: text/plain; charset=UTF-8 On Thu, Jul 31, 2014 at 4:23 PM, Laruence wrote: > Hey: > > 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_size? > Another idea: We could refrain from creating immutable arrays for top-level scripts (only do it in functions, methods etc). As function op arrays never get dtor'd there would be no problem there. Nikita --047d7b33d500a302da04ff82f882--