Hmmm.... Wild! I was playing around with my app and stopping now and then and checking for leaks in the Debug Memory Graph. In there some of my objects stayed around much longer than their lifespan and where even flagged as leaked. Looking at the graphs I did see pretty impressive node cycles.
Howevery when I continue using the app, these objects seem to disappear and even the 'leaked' objects are gone.
Which means the memory graph itself is probably useless? How am I supposed to check if I am having memory leaks or not? I am dealing with pretty large images, so I really need to be sure...
Do I need to create a new modelContext to be sure that I get rid of objects I do not need any more?
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: