Doctrine 1

_getCacheKeys() exhausts memory