应用程序崩溃的废弃内存

时间:2013-10-25 03:35:49

标签: ios memory instruments abandoned-memory

我遇到了内存问题。听起来我有所谓的废弃记忆和/或参考周期。我试图解决这个问题大约2个月,不能走出这条长隧道。我使用了苹果的内容来找出大多数内存使用的地方和VM:图像IO_PNG_Data在崩溃时使用44MB。我钻的更深,并指出主要的。 m被指出100%。我不知道发生了什么。我是iOS新手,我真的需要帮助。您可以从this链接查看我的整个代码。我没有任何东西指出我的代码exept主要。

    #import <UIKit/UIKit.h>

    #import "AppDelegate.h"

    int main(int argc, char *argv[])
    {
        @autoreleasepool {
//This line below is pointed out             
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
//This line above is pointed out

        }
    }

0 个答案:

没有答案