PHP 8.5.0 Alpha 4 available for testing

Voting

: three plus three?
(Example: nine)

The Note You're Voting On

anon at anon dot com
13 years ago
If your MySQL table has 500,000+ rows and your script is failing because you have hit PHP's memory limit, set the following attribute.

<?php $this->pdo->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, false); ?>

This should make the error go away again and return memory usage back to normal.

<< Back to user notes page

To Top