I don't know doctrine very well, but with propel you can a function to return a resultset instead of an array of objects. My suggestion is go take a look at the Doctrine documentation on the Doctrine site for more info.
On 16 Nov 2010 9:48 PM, "Luciano A. Andrade" <[email protected]> wrote: I am tyring to make a batch processing for synchronization of two databases, and i am running on limitation of the memory usage. I like to be able to process 30000 objects, i can't use arrays for the hydration, since i have some logic i need to execute. I only need one of this object at any time, but it looks like theres no way to liberate the used objects, so memory usage grow rapidly. Any one has be able to free some memory, i am using $object->free(true); unset($object); so i run out of ideas. Any one? -- 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
