Re: stack overflow
| From: | Pavel Jartsev | Date: | Tue, 05 Dec 2000 12:48:37 +0000 |
| Subject: | Re: stack overflow | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28709@lists.php.net to get a copy of this message | ||
rei05@gmx.de wrote:
>
> hi all!
> does anyone know possible reasons for the following error:
>
> Fatal error: Allowed memory size of 16388608 bytes exhausted at
> zend_stack.c:27 (tried to allocate 256 bytes) in Unknown on line 0
>
> or i get similar ones like:
> Fatal error: Allowed memory size of 16388608 bytes exhausted at
> zend_llist.c:36 (tried to allocate 75 bytes) in ../cgi-bin/popupmodi.inc on line 123
>
> obviously a stack that is used for executing the php script overflows; how
> could the reason for an error like this become identified?
>
Check parameter 'memory_limit' in your php.ini.
This is maximum amount of memory a script may consume.
Seems that you have 'memory_limit = 16M'.
To solve the problem - increase limit (if you can change php.ini) or
rewrite your script. ;-)
Hope this helps.
--
Pavel a.k.a. Papi