Watching memory usage in iOS

后端 未结 7 937
你的背包
你的背包 2020-11-28 01:54

Is there any way to find out how much memory is available in iOS? I know that the system will pass low memory warnings when available memory gets low. However, my App has so

7条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 02:18

    First the title of your question is how to watch memory usage in iOS..There is a tool called instrument comes with xcode, which you can use to track memory allocation, leaks, cpu usage and a host of other things..See apple's documentation on the subject..

    • Now to see the real time memory usage of your app you can use allocator tool in instrument
    • To identify the memory leaks you can use leak tool in instrument..

    Also in WWDC 2010 there is a video of how to analyze memory using Instrument..

提交回复
热议问题