Out of memory (Needed 4294967248 bytes) SQL query : select count(*) from SKH_products where ( enabled=1 AND ( productID=238 OR productID=566 OR productID=718 OR productID=859 OR productID=870 OR productID=1033 OR productID=1055 OR productID=1072 OR productID=1076 OR productID=1210 OR productID=1570 OR productID=1615) ) OR ( enabled=1 AND categoryID=9 ) OR ( enabled=1 AND ( productID=1613 OR productID=1615 OR productID=1669 OR productID=2048) ) OR ( enabled=1 AND categoryID=157 ) OR enabled=1 AND categoryID=158 OR enabled=1 AND categoryID=159 OR enabled=1 AND categoryID=156 order by sort_order, name