app 启动之后直接白屏,出现一大推的 I/art: Background sticky concurrent mark sweep GC freed 17(3KB) AllocSpace objects,是不是内存泄露问题?

2017-04-18 10:58:50 +08:00
 qw30716
04-18 10:53:49.984 17824-17839/com.secidea.webtest I/art: Background partial concurrent mark sweep GC freed 30(9KB) AllocSpace objects, 8(48MB) LOS objects, 24% free, 49MB/65MB, paused 14.940ms total 54.113ms
04-18 10:53:49.996 17824-17839/com.secidea.webtest W/art: Suspending all threads took: 11.622ms
04-18 10:53:50.010 17824-17834/com.secidea.webtest W/art: Suspending all threads took: 7.794ms
04-18 10:53:50.062 17824-17839/com.secidea.webtest W/art: Suspending all threads took: 11.978ms
04-18 10:53:50.074 17824-17839/com.secidea.webtest I/art: Background sticky concurrent mark sweep GC freed 17(3KB) AllocSpace objects, 3(18MB) LOS objects, 0% free, 67MB/67MB, paused 15.558ms total 49.760ms
04-18 10:53:50.085 17824-17839/com.secidea.webtest W/art: Suspending all threads took: 11.670ms
04-18 10:53:50.125 17824-17839/com.secidea.webtest W/art: Suspending all threads took: 12.056ms
04-18 10:53:50.143 17824-17839/com.secidea.webtest I/art: Background partial concurrent mark sweep GC freed 27(7KB) AllocSpace objects, 7(42MB) LOS objects, 24% free, 49MB/65MB, paused 14.136ms total 55.380ms
04-18 10:53:50.157 17824-17839/com.secidea.webtest W/art: Suspending all threads took: 13.829ms
04-18 10:53:50.238 17824-17839/com.secidea.webtest W/art: Suspending all threads took: 15.977ms
04-18 10:53:50.250 17824-17839/com.secidea.webtest I/art: Background sticky concurrent mark sweep GC freed 9(3KB) AllocSpace objects, 3(18MB) LOS objects, 0% free, 67MB/67MB, paused 17.163ms total 59.872ms
04-18 10:53:50.250 17824-17838/com.secidea.webtest I/art: WaitForGcToComplete blocked for 21.763ms for cause HeapTrim
04-18 10:53:50.258 17824-17839/com.secidea.webtest W/art: Suspending all threads took: 5.431ms
04-18 10:53:50.292 17824-17839/com.secidea.webtest W/art: Suspending all threads took: 16.942ms
04-18 10:53:50.357 17824-17839/com.secidea.webtest W/art: Suspending all threads took: 12.335ms
好像是内存没有释放,出现内存泄露,怎么找出内存在哪泄露,求指点
22294 次点击
所在节点    Android
1 条回复
gao117348222
2017-04-18 14:11:51 +08:00
我遇到过一次 是因为闪屏页面的图片分辨率太大。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/355570

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX