Out of memory (Needed 4294967248 bytes) SQL query : select count(*) from SKH_products where ( enabled=1 AND ( productID=48 OR productID=56 OR productID=233 OR productID=252 OR productID=287 OR productID=472 OR productID=900 OR productID=1096 OR productID=1149 OR productID=1306 OR productID=1904 OR productID=2050) ) OR ( enabled=1 AND categoryID=5 ) OR ( enabled=1 AND ( productID=1910 OR productID=1912 OR productID=1913 OR productID=1914) ) OR ( enabled=1 AND categoryID=117 ) OR enabled=1 AND categoryID=118 OR enabled=1 AND categoryID=119 OR enabled=1 AND categoryID=120 OR enabled=1 AND categoryID=121 OR enabled=1 AND categoryID=122 OR enabled=1 AND categoryID=116 order by sort_order, name