Hi Colin, The MS documentation says the image type can hold up to 2GB: http://technet.microsoft.com/en-us/library/ms187993.aspx It appears someone beat me to filing a bug report about this: http://bugs.php.net/bug.php?id=42765 I guess that's that for now until this gets fixed. Regards, Carlton Whitehead ----- Original Message ----- From: "Colin Guthrie" <gmane@xxxxxxxxxxxxxx> To: php-general@xxxxxxxxxxxxx Sent: Thursday, September 27, 2007 4:04:53 AM (GMT-0500) America/New_York Subject: Re: PDOStatement execute memory issue? Carlton Whitehead wrote: > Is something causing the memory allocation > to loop until it reaches this maximum value? I don't think so as the 4GB value is mentioned in the error message. Usually when memory is exhausted in a loop it will say "(tried to allocate 100 bytes)" - e.g. a little amount. This appears to do it in one chunk. I wonder if this is trying to allocate memory for the maximum potential size of your field in the DB? Perhaps read up on PDO/ODBC/MSSQL and how they treat BLOBs.... (I don't know myself). Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php