Imagine that you want to import your 5000+ items from database to ElasticSearch
and you have restricted memory limits (e.g. 128MB). You will probably end up
with PHP Fatal error:Allowed memory size of 134217728 bytes exhausted.
What you have to do?
You have to unconfigure logger, clear entity