On 31 Jul 2014, at 17:34, Pascal Chevrel <pascal.chev...@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/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php