Re: Reporting bugs for phpng

From: Date: Thu, 31 Jul 2014 20:22:02 +0000
Subject: Re: Reporting bugs for phpng
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-76300@lists.php.net to get a copy of this message
On 31 Jul 2014, at 17:34, Pascal Chevrel <pascal.chevrel@free.fr> wrote: > The problem is that the more arrays I load, the more memory PHPNG consumes while current > versions of PHP have that value mostly stable. I have with PHPNG a scalability issue I don't > have with regular PHP. If tomorrow I increase the number of languages I support in my app from 70 to > 200 (which is my long term goal btw), I would probably need to set memory_limit to 700MB which seems > honestly crazy when PHP 5.x needs 8MB for the same script to run at the same speed. As an end user, > I think it's a bug not a feature, I hope you understand my point of view :). This isn’t so much a response to Pascal, more a question for the rest of you. My apologies if I’m misunderstanding this internally. As the array is in opcache, we can just use it directly without copying, right? In which case, shouldn’t Pascal’s issue not be happening, or is Pascal not using opcache? Or, are we copying each time we run the script? In which case, why aren’t we using opcache’s copy? -- Andrea Faulds http://ajf.me/

« previous php.internals (#76300) next »