【问题标题】:iOS kill myapp issueiOS 杀死 myapp 问题
【发布时间】:2013-10-06 22:21:45
【问题描述】:
Oct  5 16:23:07  com.apple.launchd[1] <Notice>: (UIKitApplication:com.gx.uxart[0x57b0]) Exited: Killed: 9

Oct  5 16:23:07  com.apple.launchd[1] <Notice>: (UIKitApplication:com.hahainteractive.bookswing[0x2339]) Exited: Killed: 9

Oct  5 16:23:07  com.apple.launchd[1] <Notice>: (UIKitApplication:com.nike.nikeplus-gps[0xf40f]) Exited: Killed: 9

Oct  5 16:23:07  backboardd[28] <Warning>: Application 'UIKitApplication:net.nyvra.NYSliderPopoverDemo[0x43d]' exited abnormally with signal 9: Killed: 9

Oct  5 16:23:07  backboardd[28] <Warning>: Application 'UIKitApplication:com.croquis.CookieWords[0xcc22]' exited abnormally with signal 9: Killed: 9

Oct  5 16:23:07  backboardd[28] <Warning>: Application 'UIKitApplication:com.gx.uxart[0x57b0]' exited abnormally with signal 9: Killed: 9

Oct  5 16:23:07  backboardd[28] <Warning>: Application 'UIKitApplication:com.hahainteractive.bookswing[0x2339]' exited abnormally with signal 9: Killed: 9

Oct  5 16:23:07  backboardd[28] <Warning>: Application 'UIKitApplication:com.nike.nikeplus-gps[0xf40f]' exited abnormally with signal 9: Killed: 9

myapp 是 com.gx.uxart。我有任何问题。

什么是 com.apple.lanuchd? (我知道篮板是 SpringBoard Daemon。)

为什么要被 ios 杀死我的应用程序?内存使用情况?

如何防止应用被iOS杀死?内存优化?

【问题讨论】:

    标签: iphone ios background


    【解决方案1】:

    launched 是所有进程之父.. 在 unix 下是 inits IIRC。
    它的工作太启动和重新启动并杀死守护进程/应用程序,包括我猜的跳板

    但这在你的情况下并不重要 :) 重要的是你不能可靠地阻止操作系统杀死你的应用程序。它可以随时被杀死。没有恒定的背景模式。苹果对此有详细的描述:

    任何进入 bg 的应用程序都可以通过它启动的 backgroundTask 请求继续运行。然后你可以得到尽可能多的时间......理论上。在实践中:你不应该使用内存、cpu 时间或消耗电力,否则你会被杀死。

    推测

    在你的情况下,它确实看起来操作系统杀死了尽可能多的应用程序,以便让更多人使用 nikeplus-gps ...但这还不够,所以它也必须杀死 nikeplus

    【讨论】:

    • @downvoter:投反对票没问题,但一如既往,如果您发表评论会很好
    【解决方案2】:

    您的应用使用了多少内存?如果出现内存压力,Launchd 将终止应用程序。

    使用工具启动您的应用并查看分配情况。特别是实时字节。这肯定是你的问题。

    此外,这假设您的应用是前台应用。如果您的应用处于后台,则可能出于多种原因随时暂停。

    如果您还没有的话,请先从 Instruments 开始。良好的内存占用是避免许多问题的基础。

    有用的参考资料:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-01
      • 2021-11-30
      相关资源
      最近更新 更多