1.首先打开Instruments 工作中我们常用的是Automation (分析应用程序占据了多少内存) Leaks (主要是我们在应用程序中使用到哪个部分是否有内存泄漏) 首先先来看下Automation Leaks内存泄漏