进入Xcode4,选择菜单“Product”->“Profile”,快捷键Command+I 监测内存泄露