问题:In IOS8 wakeups limit
2016-05-27 18:12
609 查看
in iOS8, a new limit is came.
Exception Type: EXC_RESOURCE
Exception Subtype: WAKEUPS
Exception Message: (Limit 150/sec)
so, don't create many threads and sleep.
all resource need a same way to asyn_load, please keep less thread
App
shutdown with EXC_RESOURCE, WAKEUPS exception on iOS 8 GM
up vote 32 down vote favorite 10 | Does anyone know what this kind of exception is on iOS 8? === from crash report === Exception Type: EXC_RESOURCE Exception Subtype: WAKEUPS Exception Message: (Limit 150/sec) Observed 206/sec over 300 secs Triggered by Thread: 14 Seems to only happen on iOS 8... Our app is shut down quite randomly at arbitrary intervals with this exception.. Any clues are welcome. Thanks! |
times you can run a sleep/wake cycle on each thread per second, and having a high count here is usually an indication that something is wrong / inefficient in your thread management.
Without seeing your code, my recommendation is that you check your C++ algorithms for sleep/wake calls, or multithread the background process to start new threads each cycle.
Ray Wenderlich has a fantastic tutorial on Apple's system for multithreading, Grand Central Dispactch, which might also be a good resource for you:http://www.raywenderlich.com/60749/grand-central-dispatch-in-depth-part-1
原文地址:http://blog.csdn.net/chinaclock/article/details/48272797
相关文章推荐
- JSP中内建exception对象时出现500错误的解决方法
- PHP 面向对象程序设计(oop)学习笔记 (四) - 异常处理类Exception
- 使用innodb_force_recovery解决MySQL崩溃无法重启问题
- 基于Android应用中如何反馈Crash报告的详解
- php中error与exception的区别及应用
- 查看iOS Crash logs的方法
- 解决QSqlTableModel::setData()崩溃的问题
- 是时候开始引入异常化编程了!
- fix java exception
- 启动hive命令报错 “Metastore contains multiple versions”
- Spring Boot学习笔记-错误处理及自定义
- 使用 Crash 工具分析 Linux dump 文件
- linux kdump crash
- Java常见异常(Runtime Exception )小结
- Oracle 中的exception——(Raise)
- 多线程InterruptedException
- [Android]记录程序崩溃Log
- ruby所有异常
- JAVA的MD5加密与解密
- JAVA的MD5加密与解密