Doctrine Batch Processing Iterate High Memory Usage
Batch processing with doctrine is trickier than it seems, even with the help of iterate() and IterableResult. Just as you expected greatest benefit of IterableResult is that it does not load all of the elements into memory, and the second benefit is that it doesn’t hold references to the entities you load, thus IterableResult doesn’t … Read more