Warning: mysqli_query() [function.mysqli-query]: (HY000/5): Out of memory (Needed 1048304 bytes) in /var/www/arztvergleich/controller/DB.php on line 148

Fatal error: Uncaught exception 'Exception' with message '[DB->query] Query: SELECT COUNT(DISTINCT(`b`.`address`)) AS `nbusinesses` FROM `business` AS `b` WHERE `b`.`state` = 'BER' AND `b`.`category_id` = 7 AND `b`.`city` = 'Berlin' AND `b`.`status` = 1 GROUP BY `b`.`city`<br>Error: Out of memory (Needed 1048304 bytes)' in /var/www/arztvergleich/controller/DB.php:155 Stack trace: #0 /var/www/arztvergleich/controller/DB.php(173): DB->query('SELECT COUNT(DI...') #1 /var/www/arztvergleich/controller/Core.php(344): DB->getRow('SELECT COUNT(DI...') #2 /var/www/arztvergleich/controller/Core.php(150): Core->loadPage() #3 /var/www/arztvergleich/controller/Core.php(118): Core->loadConfig() #4 /var/www/arztvergleich/controller/Core.php(71): Core->loadDomain() #5 /var/www/arztvergleich/view/index.php(4): Core->__construct() #6 {main} thrown in /var/www/arztvergleich/controller/DB.php on line 155