Re: Re: alloca() problem

From: Date: Wed, 16 Jun 2004 16:21:47 +0000
Subject: Re: Re: alloca() problem
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-10527@lists.php.net to get a copy of this message
On June 16, 2004 12:15 pm, Ard Biesheuvel wrote: > Ilia Alshanetsky wrote: > > PHP5/Interbase: too many arguments passed to some functions. > > The function in question alloca()tes a 4 pointers times the number of > args which is kept in an unsigned short. This means the allocated memory > can at most be 1M. > > While this seems a lot to allocate on the stack, I think it shouldn't be > problem. True, but if PHP is as an apache module several simultaneous call could very well exhaust the stack. Ilia

« previous php.internals (#10527) next »