Re: Re: PDOStatement execute memory issue?
| From: | Carlton Whitehead | Date: | Thu, 27 Sep 2007 18:01:16 +0000 |
| Subject: | Re: Re: PDOStatement execute memory issue? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262535@lists.php.net to get a copy of this message | ||
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@colin.guthr.ie>
To: php-general@lists.php.net
Sent: Thursday, September 27, 2007 4:04:53 AM (GMT-0500) America/New_York
Subject: [PHP] 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