Josiah / JJsGeonamesBundle

GeoNames.org geographical data and associated functionality
18 stars 15 forks source link

Flush entity manager in each iteration #5

Closed hbraune closed 7 years ago

hbraune commented 9 years ago

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.

Josiah commented 9 years ago

That's going to be a lot of DB writes, I'd prefer to flush after every 10 or 100 iterations.

devnix commented 7 years ago

Hi! :D

What's the status about this PR?

Josiah commented 7 years ago

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 .