Re: Why does this script run out of memory?

From: Date: Fri, 28 Oct 2011 20:28:42 +0000
Subject: Re: Why does this script run out of memory?
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-315517@lists.php.net to get a copy of this message
On Fri, Oct 28, 2011 at 16:21, Jim Long <php@umpquanet.com> wrote: > > I will try experimenting with Daniel's idea of unbuffered > queries, but my understanding is that while an unbuffered result > resource is in use, no other SQL transactions can be conducted. > Maybe I can get around that by using one MySQL connection for the > unbuffered query, and another separate MySQL connection for the > incidental SQL queries that I need to perform as I process each > record from the large dataset. Just for the sake of a kick-start, you could throw together a simple class and then call that quite easily. -- </Daniel P. Brown> Network Infrastructure Manager http://www.php.net/

« previous php.general (#315517) next »