Fatal error: Allowed memory size of 524288000 bytes exhausted (tried to allocate 6 bytes) in /usr/share/php/Zend/Db/Statement/Pdo.php on line 291