开发者

How to guarantee that app contains no memory leaks?

How can one guarantee (or at least come reasonably close) that one's app contains no memory leaks?

What are the specific steps one should follow please?

I tried Product -> Analyze, which actua开发者_如何学编程lly found a leak, however both before and after i fixed it Product -> Profile -> Leaks, none were shown.

In the image below, what should i be looking at? What is an indication of a leak?

How to guarantee that app contains no memory leaks?


Instruments finds leaks at runtime. You need click the "Record" button on left side of toolbar to run.

Check this link for more details on how to detect memory leaks with Instruments.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜