I ran into the same issue today and found that the query logger was logging every insert query, and running the script out of memory. Unfortunately I have not found a way to disable the logger, but you can get around this by commenting out the "$instance->setSqlLogger(...)" line in your *ProjectContainer class.
On Thu, Nov 18, 2010 at 7:32 AM, Carlos Silva <[email protected]> wrote: > Hi, > > I have been testing Symfony 2 (and Doctrine 2) and I've created a > command to bulk insert data. > > I've found that in this test, PHP is eating ~ 175Mb per 100k records. > Someone has a solutions for this? > > ---------------------------------------------------------------- > > Command source: http://pastie.org/1308565 > > Yml Entity Schema > > Application\GeoBundle\Entity\Country: > type: entity > table: country > fields: > id: > type: integer > id: true > generator: > strategy: AUTO > name: > type: string(50) > lifecycleCallbacks: { } > > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-users%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
