Ошибка (databaseException): Out of memory (Needed 1048548 bytes) in query: SELECT COUNT(DISTINCT h.id) FROM cms3_objects o, cms3_hierarchy h , cms3_object_content c1, cms3_object_content c2 WHERE h.obj_id = o.id AND h.is_deleted = '0' AND ((c1.obj_id = o.id AND c1.field_id = '477' AND c1.int_val IS NULL)) AND (c2.obj_id = o.id AND c2.field_id = '198') AND h.is_active = '1' AND h.type_id IN ('39') AND h.lang_id = '1' AND h.domain_id = '1' AND c1.obj_id = c2.obj_id AND c2.obj_id = c1.obj_id AND c1.obj_id = c2.obj_id

Показать отладочную информацию