Re: PHP 5.1 memory leak?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-11-07 at 15:21 -0200, Egon Hilgenstieler wrote:

> I have a really complex report which uses a tree-like structure of data
> base objects. Usually it consumes a lot of memory but that it is not
> really an issue because it is an intranet application with few users and
> a dedicated server for it. The problem is that the memory allocated by
> the script is never free'd!
> 

The most probable cause of this is cyclic references, which in 5.1 are
not cleaned up very efficiently. Take a look through your code for them,
or upgrade to 5.2 or 5.3 when released, which has a very cool patch to
do just this.

--Paul

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux