Out of memory (Needed 4294967248 bytes) SQL query : select count(*) from SKH_products where ( enabled=1 AND ( productID=3 OR productID=5 OR productID=6 OR productID=7 OR productID=8 OR productID=13 OR productID=20 OR productID=24 OR productID=33 OR productID=35 OR productID=54 OR productID=76 OR productID=100 OR productID=185 OR productID=244 OR productID=499 OR productID=680 OR productID=955 OR productID=1498 OR productID=1538 OR productID=1540 OR productID=1832 OR productID=1930 OR productID=1931 OR productID=2016) ) OR ( enabled=1 AND categoryID=4 ) OR enabled=1 AND categoryID=89 OR ( enabled=1 AND ( productID=1759 OR productID=1934) ) OR ( enabled=1 AND categoryID=90 ) OR enabled=1 AND categoryID=91 OR ( enabled=1 AND ( productID=2808) ) OR ( enabled=1 AND categoryID=92 ) OR enabled=1 AND categoryID=93 OR enabled=1 AND categoryID=94 OR enabled=1 AND categoryID=88 order by sort_order, name