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