Out of memory (Needed 4294967248 bytes) SQL query : select count(*) from SKH_products where ( enabled=1 AND ( productID=17 OR productID=19 OR productID=34 OR productID=90 OR productID=91 OR productID=93 OR productID=100 OR productID=103 OR productID=133 OR productID=140 OR productID=145 OR productID=161 OR productID=162 OR productID=163 OR productID=164 OR productID=165 OR productID=171 OR productID=172 OR productID=176 OR productID=177 OR productID=178 OR productID=203 OR productID=365 OR productID=369 OR productID=526 OR productID=696 OR productID=1832 OR productID=1945 OR productID=1969 OR productID=2070 OR productID=2637 OR productID=2811 OR productID=2830 OR productID=2831) ) OR ( enabled=1 AND categoryID=22 ) OR enabled=1 AND categoryID=47 OR ( enabled=1 AND ( productID=2711 OR productID=2712) ) OR ( enabled=1 AND categoryID=48 ) OR enabled=1 AND categoryID=49 OR enabled=1 AND categoryID=50 OR enabled=1 AND categoryID=51 OR enabled=1 AND categoryID=52 OR enabled=1 AND categoryID=223 OR ( enabled=1 AND ( productID=2753) ) OR ( enabled=1 AND categoryID=46 ) order by sort_order, name