Out of memory (Needed 4294967248 bytes) SQL query : select count(*) from SKH_products where ( enabled=1 AND ( productID=47 OR productID=156 OR productID=262 OR productID=289 OR productID=390 OR productID=437 OR productID=514 OR productID=527 OR productID=569 OR productID=629 OR productID=645 OR productID=649 OR productID=1634 OR productID=1672 OR productID=2733 OR productID=2750) ) OR ( enabled=1 AND categoryID=12 ) OR enabled=1 AND categoryID=124 OR ( enabled=1 AND ( productID=1607) ) OR ( enabled=1 AND categoryID=125 ) OR enabled=1 AND categoryID=126 OR enabled=1 AND categoryID=127 OR enabled=1 AND categoryID=128 OR enabled=1 AND categoryID=129 OR enabled=1 AND categoryID=123 order by sort_order, name