Re: PCRE JIT stack size limit

From: Date: Mon, 21 Mar 2016 20:24:46 +0000
Subject: Re: PCRE JIT stack size limit
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  Groups: php.internals 
Request: Send a blank email to internals+get-91825@lists.php.net to get a copy of this message
On 21.03.2016, at 19:54, Nikita Popov <nikita.ppv@gmail.com> wrote: > > On Mon, Mar 21, 2016 at 7:41 PM, Anatol Belski <anatol.php@belski.net> wrote: >> The issue I have with more increasing the stack is that - while as we see >> till today >> the default stack size of 32K is enough in the common case, the max of it >> will be >> reserved. So the real usage will most likely stay under 32K, but the whole >> of max >> (say 64K now) will be unusable by anything else. >> > Are you sure about that? The documentation says "The arguments are a starting size for the > stack, and a maximum size to which it is allowed to grow." Unless I'm misunderstanding > something, it should not be allocating the maximum size right away. That's how I understood it too.

« previous php.internals (#91825) next »