Out of memory (Needed 4294967248 bytes) SQL query : select count(*) from SKH_products where ( enabled=1 AND ( productID=709 OR productID=742 OR productID=743 OR productID=968 OR productID=1140 OR productID=1569 OR productID=1696) ) OR ( enabled=1 AND categoryID=23 ) OR ( enabled=1 AND ( productID=1695) ) OR ( enabled=1 AND categoryID=194 ) OR enabled=1 AND categoryID=195 OR enabled=1 AND categoryID=196 OR enabled=1 AND categoryID=197 OR enabled=1 AND categoryID=198 OR enabled=1 AND categoryID=193 order by sort_order, name