Closed hbraune closed 7 years ago
That's going to be a lot of DB writes, I'd prefer to flush after every 10 or 100 iterations.
Hi! :D
What's the status about this PR?
It's really frustrating, but I've lost control of this github account. Otherwise I'd be happy to merge the PR :(
On 12 July 2017 at 16:12, Dev_NIX notifications@github.com wrote:
Hi! :D
What's the status about this PR?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Josiah/JJsGeonamesBundle/pull/5#issuecomment-314800941, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEvNaa7n32fPPVW9VjY3Hp2ht2YJKFFks5sNOJbgaJpZM4DUVnk .
Due to memory leaks it is necessary to flush the entity manager after each iteration. Otherwise doctrine or monolog are trying to allocate too much memory.