Hi, I am processing a large XML, the module I created iterates through about 50,000 records, creates an object for each record and saves it to the DB, and am running into memory issues. The memory usage measured by memory_get_usage() keeps growing with each new object created. I have tried flushing the Doctrine's identity map and unsetting the objects like this:
$product->getTable()->clear(); unset($product); however that did not help at all Is there anything else I can do to free up memory? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
