There's a memory limit patch available on the PHP download page at 
http://www.php.net/downloads.php (PHP 4.0.6 memory limit fix). It should 
fix this problem, I believe.

Might want to considering upgrading to 4.1.0, though.

J


Cristiano Verondini wrote:

> 
>     Hello,
> 
>     I'm using PHP 4.0.6 and have the following (very annoying) problem:
> 
>     Running a complex web application, after some time of use, I got the
> 'memory limit exceeded' message, in different points of my application.
> Waiting some time sometimes solves the problem.
> 
>     I believe the fault is in the memory allocation/deallocation routines,
> because I do a lot of string concatenation and know this operation can be
> a real pain for memory management code.
> 
>     The question is how does PHP deal with memory? i mean, does it have a
> unique memory pool for every page hit? Is the 8 Mb limit for every page
> hit?
> Is it possible that the memory reclaim code  is causing such a behaviour?
> is there a way to force a garbage collection run?
> 
>     Any hint/though?
> 
>     Thanks
> 
>         Cris
> 


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to