DatabaseException

Out of memory (Needed 67108836 bytes) QUERY: SELECT count(distinct e.guid) as total from elggannotations a JOIN elggentities e on e.guid = a.entity_guid JOIN elggobjects_entity o on o.guid = e.guid where e.type='object' and e.subtype='16' and e.container_guid = 29688 and a.name_id='12045' and ( (a.access_id in (2) or (a.owner_guid = -1) or (a.access_id = 0 and a.owner_guid = -1)) and a.enabled='yes') and ( (e.access_id in (2) or (e.owner_guid = -1) or (e.access_id = 0 and e.owner_guid = -1)) and e.enabled='yes')