HY000 - SQLSTATE[HY000]: General error: 5 Out of memory (Needed 1677696 bytes)

select c.categories_id, cd.categories_name, c.parent_id from categories c, categories_description cd, categories_to_stores c2s where c.parent_id = '0' and c.categories_id = cd.categories_id and c.categories_status = '1' and c.categories_id = c2s.categories_id and c2s.stores_id = '56' and cd.language_id='4' order by sort_order, cd.categories_name

[TEP STOP]