相关疑难解决方法(0)

停止服务正在进行持续垃圾收集

我正在开发一个有很多服务的应用程序.当我停止intent服务时,应该停止所有线程和服务,但是UI挂起并且logcat中存在以下错误:

2014-12-01 12: 37: 92I/art     (32099): Background partial concurrent mark sweep GC freed 419756(33MB) AllocSpace objects, 15(4MB) LOS objects, 38% free, 25MB/41MB, paused 1.617ms total 451.976ms
2014-12-01 12: 37: 40I/art     (32099): Background sticky concurrent mark sweep GC freed 290680(16MB) AllocSpace objects, 0(0B) LOS objects, 23% free, 25MB/33MB, paused 23.287ms total 229.513ms
2014-12-01 12: 37: 29I/art     (32099): Background partial concurrent mark sweep GC freed 165880(9MB) AllocSpace objects, 0(0B) LOS objects, 39% free, 23MB/39MB, paused 1.648ms total 203.601ms
2014-12-01 12: 37: 54I/art …
Run Code Online (Sandbox Code Playgroud)

android garbage-collection

24
推荐指数
1
解决办法
3万
查看次数

标签 统计

android ×1

garbage-collection ×1