Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in /data/www/eshop/releases/actual/htdocs/magento/lib/Zend/Db/Statement/Pdo.php on line 228

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. in /data/www/eshop/releases/actual/htdocs/magento/lib/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /data/www/eshop/releases/actual/htdocs/magento/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /data/www/eshop/releases/actual/htdocs/magento/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array) #2 /data/www/eshop/releases/actual/htdocs/magento/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array) #3 /data/www/eshop/releases/actual/htdocs/magento/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #4 /data/www/eshop/releases/actual/htdocs/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend in /data/www/eshop/releases/actual/htdocs/magento/lib/Zend/Db/Statement/Pdo.php on line 234