Re: Re: alloca() problem
| From: | Hartmut Holzgraefe | Date: | Wed, 16 Jun 2004 16:17:56 +0000 |
| Subject: | Re: Re: alloca() problem | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10526@lists.php.net to get a copy of this message | ||
Ard Biesheuvel wrote:
Ilia Alshanetsky wrote:Even when running threaded in ZTS mode? Per thread stacks are not necessarily that big ... -- Hartmut Holzgraefe <hartmut@php.net>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.