Out of memory (Needed 4294967248 bytes) SQL query : select count(*) from SKH_products where ( enabled=1 AND ( productID=12 OR productID=95 OR productID=100 OR productID=176 OR productID=307 OR productID=332 OR productID=369 OR productID=483 OR productID=569 OR productID=600 OR productID=912 OR productID=945 OR productID=948 OR productID=1945 OR productID=2753) ) OR ( enabled=1 AND categoryID=25 ) OR enabled=1 AND categoryID=82 OR enabled=1 AND categoryID=83 OR enabled=1 AND categoryID=84 OR enabled=1 AND categoryID=85 OR enabled=1 AND categoryID=86 OR enabled=1 AND categoryID=87 OR enabled=1 AND categoryID=81 order by sort_order, name