iphone - Core data managed object property retention -
i seem having issue managed objects not releasing memory. have nsoperation downloads new information, saves temp context, merges main context. works in allocations instrument newly created properties stick around in memory after merge complete , entire operation deallocated. there way fix this? i've tried reset both temp , main contexts , refreshobject:, both don't fix this. thanks!
make sure create nsautoreleasepool
first thing in operations main
. before return out of main make sure drain
pool. includes returns before end of method such inside if statement.
Comments
Post a Comment