V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
qw30716
V2EX  ›  Android

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

  •  
  •   qw30716 · 2017-04-18 10:58:50 +08:00 · 18677 次点击
    这是一个创建于 2586 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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
    好像是内存没有释放,出现内存泄露,怎么找出内存在哪泄露,求指点
    1 条回复    2017-04-18 14:11:51 +08:00
    gao117348222
        1
    gao117348222  
       2017-04-18 14:11:51 +08:00
    我遇到过一次 是因为闪屏页面的图片分辨率太大。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1045 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 22:50 · PVG 06:50 · LAX 15:50 · JFK 18:50
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.