console

Aug
10
How to deal with large Doctrine datasets - Symfony console command - OutOfMemoryError - PHP Fatal error:  Allowed memory size of * bytes exhausted

How to deal with large Doctrine datasets - Symfony console command - OutOfMemoryError - PHP Fatal error: Allowed memory size of * bytes exhausted

Imagine that you want to import your 5000+ items from database to ElasticSearch and you have restricted memory limits (e.
1 min read