Reputation: 5764
I am getting continous Memory Warnings just in the beginning of the application. What is the best way to find out where am I wrong? In the Leaks instrument, I cannot see anything wrong.
This is the screenshot from a generation.
Here I started to play a video. ImageIO_PNG_Data can be that?
Upvotes: 1
Views: 137
Reputation: 437632
So you should use Allocations tool using "Heapshots"/"Generations" to look at what objects have been allocated and not released. (Not everything shows up as a "leak".) It could be that your app has strong reference cycles. Or it could be that your app is simply extravagant in its use of memory (e.g. maintaining arrays of images or the like). It's impossible for us to say on the basis of the information provided.
I'd suggest watching WWDC 2012 video iOS App Performance: Memory, which describes types of memory considerations and illustrates the use of Instruments to identify memory issues.
Upvotes: 1