Memory graph / chart in XCode 5 during Debug

前端 未结 3 1917
旧时难觅i
旧时难觅i 2020-12-08 22:21

What does \"Memory\" usage chart/graph exactly represents in XCode 5 Debug navigator window?

I have an iOS app project with ARC disabled and no-storyboard/xib (i.e.

3条回答
  •  情书的邮戳
    2020-12-08 22:56

    It simply measures the memory your app uses. So if it is increasing it must be a memory leak.

    When using the leak analysis tools, I would use it as a guideline. It may help you find leaks but with all automated tools it may not find it all. As certain pieces of code (Especially the more dynamic pieces) may be hard to predict what they do memory wise for an automated tool.

提交回复
热议问题