On Thu, Jul 31, 2014 at 4:23 PM, Laruence <larue...@php.net> 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

Reply via email to