开发者

the leak Activity monitor is reliable?

I Write my iphone app. I checked the leak with leak instrument when I push and pop a ViewController. it can't find any red tip. But I check the app with the same method. the memory of the app increase开发者_Python百科d slowly.

which is reliable. My app leak?

thank you in advance !


Not all losses of memory are leaks, just ones that there is no pointer to. Try Heapshot Analysis, bbum has a great tutorial here. I have used Heapshot many times to great advantage, many thanks to bum.

The leaks tool is not foolproof, it is a good start.

Also use the LLVM static analyzer and fix all of it's warnings.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜