« Return to Thread: Out of memory error

Re: Out of memory error

by monk.e.boy :: Rate this Message:

Reply to Author | View in Thread

Hi,

  Has anyone else got this error?

  Does anyone know where I should look to fix it? Is it a bug in the DB Adapter?

Thankx

monk.e.boy


monk.e.boy wrote:
Hi,

  I run this:

        $sqlxx = <<<EOT
                SELECT
                        FORMAT(seconds_to_download,2) as secs
                FROM page
EOT;

        $db = $this->getAdapter();
        return $db->fetchAll( $sqlxx );

And I get:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1431655772 bytes) in /usr/local/lib/php/Zend/Db/Statement/Mysqli.php on line 254

 « Return to Thread: Out of memory error