Hey: On Thu, Jul 31, 2014 at 8:29 PM, Pascal Chevrel <pascal.chev...@free.fr> wrote: > Le 26/07/2014 04:42, Laruence a écrit : > >> Hey: >> >> On Fri, Jul 25, 2014 at 9:14 PM, Pascal Chevrel <pascal.chev...@free.fr> >> 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=67725 > > I put a testcase triggering the memory leak in a github repo referenced in > 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_size? thanks > > Regards > > > Pascal > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php