Out of memory (Needed 4294967248 bytes) SQL query : select count(*) from SKH_products where ( enabled=1 AND ( productID=122 OR productID=212 OR productID=671 OR productID=845 OR productID=1013 OR productID=1366 OR productID=1384 OR productID=1388 OR productID=1435 OR productID=1470 OR productID=1474 OR productID=1631 OR productID=1905 OR productID=2028 OR productID=2110) ) OR ( enabled=1 AND categoryID=8 ) OR ( enabled=1 AND ( productID=1612 OR productID=1655 OR productID=2048) ) OR ( enabled=1 AND categoryID=54 ) OR enabled=1 AND categoryID=55 OR enabled=1 AND categoryID=56 OR enabled=1 AND categoryID=57 OR enabled=1 AND categoryID=58 OR enabled=1 AND categoryID=59 OR ( enabled=1 AND ( productID=1417) ) OR ( enabled=1 AND categoryID=206 ) OR enabled=1 AND categoryID=53 order by sort_order, name