The problem that I have is that the app starts to receive memory warnings after about 30-60 minutes of use.. and crash. I know, you all wants 开发者_JS百科to say that I have a leaks in my app... But NO!, I don't have it, you can see it from leak analyzer screenshot. And also, I did a clean up/refactoring so many times so I'm really sure it's not a leaks.
As I understand the root of the problem - the objects released correctly, but the part of the freed memory do not goes to the app for re-use but stack somewhere... possibly I'm wrong.. Waiting for your comments
Thanks in advance
Well, there are leaks and then there is abandoned memory.
A leak is a situation where you have memory allocated and no longer have a reference to it, so you can't release it.
But it could be that you have abandoned memory which is objects you don't need anymore but to which you're still maintaining references.
Hope that helps.
精彩评论