[Flow] [Doctrine] Why memory usage constantly increases on batch inserts
Pavlina Drosos
pavlinadrosos at gmail.com
Sun Nov 10 08:37:42 CET 2013
Hi all,
I have recently tried a very simple batch inserts example with Doctrine inside a Typo3 Flow command controller, exactly like this:
http://www.doctrine-project.org/blog/doctrine2-batch-processing.html (the Mass inserts example).
I call $this->entityManager->clear(); and gc_collect_cycles(); inside the controller, exactly like in the example, but my memory usage constantly increases.
Could someone tell me why is this happening and how to avoid it?
Thanks.
More information about the Flow
mailing list