在我的应用程序中,我有大约50个nib文件。我使用ARC on..means与自动引用计数..我使用导航控制器导航。所以x代码中的每个导航内存指示器是连续增加..和崩溃。 。内存管理的解决方案?
In my app,i have around 50 nib files.And i Used ARC on..means with automatic reference counting .. i used navigation controller for navigation.so With every navigation memory indicator in x-code is continuous increasing..and crash..any solution for memory management ?
最满意答案
您没有向我们提供足够的信息来诊断您的问题。 可能是泄漏(例如由强参考循环引起的泄漏,例如,重复使用重复计时器)。 可能被遗弃的内存(例如由导航中的某些循环逻辑引起)。 没有办法根据你迄今分享的内容进行诊断。
我建议你观看WWDC 2013视频, 修复内存泄漏 (针对注册开发人员)。 这基于WWDC 2012视频iOS App Performance:Memory ,您可能希望首先观看。 它们将引导您解决问题类别,并向您介绍使用Instruments诊断问题的一些技巧。
You have not provided us enough information to diagnose your problem. Could be leaks (such as that caused by strong reference cycles, e.g. sloppy use of repeating timers). Could be abandoned memory (such as caused by some circular logic in your navigation). No way to diagnose on the basis of what you've shared thus far.
I'd suggest you watch WWDC 2013 video, Fixing Memory Leaks (for registered developers). This builds upon the WWDC 2012 video iOS App Performance: Memory, which you might want to watch first. These walk you through the categories of problems and introduce you to some techniques for using Instruments to diagnose the problem.
更多推荐
发布评论