qw30716
V2EX  ›  Android

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

  •  
  •   qw30716 · Apr 18, 2017 · 26262 views
    This topic created in 3329 days ago, the information mentioned may be changed or developed.
    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 replies    2017-04-18 14:11:51 +08:00
    gao117348222
        1
    gao117348222  
       Apr 18, 2017
    我遇到过一次 是因为闪屏页面的图片分辨率太大。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2925 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 08:17 · PVG 16:17 · LAX 01:17 · JFK 04:17
    ♥ Do have faith in what you're doing.