Out of memory (Needed 4294967248 bytes) SQL query : select count(*) from SKH_products where ( enabled=1 AND ( productID=5 OR productID=26 OR productID=31 OR productID=32 OR productID=40 OR productID=89 OR productID=92 OR productID=142 OR productID=180 OR productID=181 OR productID=184 OR productID=186 OR productID=220 OR productID=344 OR productID=358 OR productID=369 OR productID=395 OR productID=476 OR productID=494 OR productID=565 OR productID=625 OR productID=787 OR productID=897 OR productID=1196 OR productID=1930 OR productID=1931 OR productID=1945 OR productID=2037 OR productID=2730 OR productID=2830 OR productID=2831) ) OR ( enabled=1 AND categoryID=7 ) OR ( enabled=1 AND ( productID=1624 OR productID=1675 OR productID=1705 OR productID=1909 OR productID=2828) ) OR ( enabled=1 AND categoryID=75 ) OR ( enabled=1 AND ( productID=1759 OR productID=1824 OR productID=1934) ) OR ( enabled=1 AND categoryID=76 ) OR enabled=1 AND categoryID=77 OR ( enabled=1 AND ( productID=2830 OR productID=2831 OR productID=2833) ) OR ( enabled=1 AND categoryID=78 ) OR ( enabled=1 AND ( productID=1659 OR productID=1664 OR productID=1665) ) OR ( enabled=1 AND categoryID=79 ) OR enabled=1 AND categoryID=80 OR enabled=1 AND categoryID=74 order by sort_order, name