Out of memory (Needed 4294967248 bytes) SQL query : select count(*) from SKH_products where ( enabled=1 AND ( productID=26 OR productID=55 OR productID=89 OR productID=95 OR productID=99 OR productID=169 OR productID=175 OR productID=340 OR productID=650 OR productID=657 OR productID=846 OR productID=947 OR productID=1340 OR productID=1343 OR productID=1617 OR productID=1945 OR productID=2127) ) OR ( enabled=1 AND categoryID=6 ) OR enabled=1 AND categoryID=68 OR ( enabled=1 AND ( productID=1573 OR productID=1590) ) OR ( enabled=1 AND categoryID=69 ) OR enabled=1 AND categoryID=70 OR enabled=1 AND categoryID=71 OR enabled=1 AND categoryID=72 OR enabled=1 AND categoryID=73 OR enabled=1 AND categoryID=67 order by sort_order, name