From: Camille T. <cam...@od...> - 2002-12-17 10:28:38
|
Hello all ! I am trying to use ERXFetchSpecificationBatchIterator. It seems to be a GREAT tool, but I have some problems with memory management. I have to fetch 200k+ objects and I am running OutOfMemory(Error) before 56k objects. I have taken care to create a non-validating EOEditingContext with undo-manager set to null every time a batch of 200 fetches is completed. Do I have to call invalidateAllObjects on my editing-context at every batch loop ? I am not doing exotic computations with fetched objects. Some of their values are just written to a CSV -> Zip -> File chained stream. If anyone has used this successfully to achieve the same thing (and fetch zillions of objects!) please, help me. Best Regards, Camille |