Re: Where's my memory going?!

From: Date: Mon, 28 Sep 2009 21:18:27 +0000
Subject: Re: Where's my memory going?!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-298392@lists.php.net to get a copy of this message
Philip Thompson wrote: > Hi all. > > I have a script that opens a socket, creates a persistent mysql > connection, and loops to receive data. When the amount of specified data > has been received, it calls a class which processes the data and inserts > it into the database. Each iteration, I unset/destruct that class I > call. However, the script keeps going up in memory and eventually runs > out, causing a fatal error. Any thoughts on where to start to see where > I'm losing my memory? > > Thanks in advance, > ~Philip > We cannot tell you anything without see an example of what your script is doing. Let us see some code!

« previous php.general (#298392) next »