官网:https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/FindingLeakedMemory.html
1.安装XCode
2.Command + 空格快捷键,在Spotlight输入Instrument,快速启动,
3.选择目标进程,find target,选择你要监控的应用程序进程,
4.开始监控,在应用程序上,你可以做你想要的操作,然后查看Instrument的Leaks时间线,有红色的表示有内存泄露
--未完待续