Out of memory (Needed 4294967248 bytes) SQL query : select count(*) from SKH_products where ( enabled=1 AND ( productID=57 OR productID=148 OR productID=574 OR productID=776 OR productID=839 OR productID=1885 OR productID=1890 OR productID=1891 OR productID=1892 OR productID=1938 OR productID=1939 OR productID=1997 OR productID=2035 OR productID=2731 OR productID=2768 OR productID=2772 OR productID=2773 OR productID=2774 OR productID=2775 OR productID=2777) ) OR ( enabled=1 AND categoryID=2 ) OR ( enabled=1 AND ( productID=1656) ) OR ( enabled=1 AND categoryID=33 ) OR ( enabled=1 AND ( productID=1876 OR productID=1935 OR productID=1937 OR productID=1940 OR productID=1941 OR productID=2750) ) OR ( enabled=1 AND categoryID=34 ) OR enabled=1 AND categoryID=35 OR ( enabled=1 AND ( productID=1814) ) OR ( enabled=1 AND categoryID=36 ) OR enabled=1 AND categoryID=37 OR enabled=1 AND categoryID=38 OR enabled=1 AND categoryID=32 order by sort_order, name