5 - Out of memory (Needed 25594988 bytes)

select distinct p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from (products p left join products_to_categories p2c using (products_id) left join categories c using (categories_id)), products_description pd, specials s where c.categories_status=1 and p.products_status = '1' and p.products_id = s.products_id and pd.products_id = s.products_id and pd.language_id = '1' and s.status = '1' order by s.specials_date_added desc limit 10