On 11/1/07, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
> -- Aljosa Mohorovic <[EMAIL PROTECTED]> wrote
> (on Thursday, 01 November 2007, 02:23 PM +0100):
> > i use Zend_Db_Table_Abstract and this error occurs when i call fetchAll():
> >
> > Fatal error: Out of memory (allocated 4718592) (tried to allocate
> > 4294967294 bytes) in
> > /home/aljosa/[...]/library/Zend/Db/Statement/Mysqli.php on line 227
> >
> > i guess this is probably a bug in mysqli driver but i need to use
> > mysqli because i have no choice.
>
> Then you need to up your memory limit, as you're fetching more rows than
> you have memory to store in your PHP process. The other option is to
> limit the number of items you pull.

6 rows, nothing special. when i use PDO_MYSQL everything works great,
but with MYSQLI it breaks.
i have no choice, production server has only MYSQLI driver.

entire database is ~500kb so i don't think it's a real memory issue,
more like a memory leak.

anybody has any idea what i could do?

Reply via email to