【问题标题】:My console shows did receive memory and crashes the app?我的控制台显示确实接收了内存并使应用程序崩溃?
【发布时间】:2013-02-23 14:35:22
【问题描述】:

我的控制台显示“收到 memory warning" 并导致应用程序崩溃。我已完成 profiling, 但我没有发现内存泄漏?

【问题讨论】:

  • 内存泄漏!= 过多的内存消耗。您可以填满可用的 RAM 而不会泄漏任何数据。
  • 你能告诉我怎么做吗?

标签: objective-c xcode


【解决方案1】:

Why not run Xcode instruments with the memory allocations template 看看你的内存消耗的速度有多快。

Here's Apple's documentation to get you started.

您的应用程序是否偶然使用了大量图像?

【讨论】:

  • 不,我不使用很多图像,但我有一个超过 40mb 的数据库
猜你喜欢
  • 2017-07-28
  • 2017-08-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-10-03
  • 1970-01-01
  • 2017-03-26
  • 1970-01-01
相关资源
最近更新 更多