begeekmyfriend / yasea

RTMP live streaming client for Android
MIT License
4.88k stars 1.32k forks source link

推流过程频繁出现Background concurrent copying GC freed 74158(3MB) AllocSpace objects, 30(2MB) LOS objects, 50% free, 16MB/32MB, paused 5.144ms total 112.240ms #835

Open shaobin204 opened 3 years ago

shaobin204 commented 3 years ago

推流过程中非常频繁的出现GC,如下所示,不推流就不会有,请问这可能是推流哪部分导致的呢 2021-11-16 10:19:18.306 22605-22616/com.seetec.box I/com.seetec.box: Background concurrent copying GC freed 764(224KB) AllocSpace objects, 26(18MB) LOS objects, 50% free, 19MB/38MB, paused 1.533ms total 183.902ms 2021-11-16 10:19:18.894 22605-22616/com.seetec.box I/com.seetec.box: Background concurrent copying GC freed 1063(239KB) AllocSpace objects, 34(24MB) LOS objects, 50% free, 17MB/35MB, paused 9.217ms total 185.679ms 2021-11-16 10:19:19.417 22605-22616/com.seetec.box I/com.seetec.box: Background concurrent copying GC freed 881(237KB) AllocSpace objects, 30(21MB) LOS objects, 50% free, 19MB/38MB, paused 4.295ms total 163.177ms 2021-11-16 10:19:19.964 22605-22616/com.seetec.box I/com.seetec.box: Background concurrent copying GC freed 959(224KB) AllocSpace objects, 34(24MB) LOS objects, 50% free, 17MB/35MB, paused 807us total 169.849ms 2021-11-16 10:19:20.443 22605-22616/com.seetec.box I/com.seetec.box: Background concurrent copying GC freed 901(224KB) AllocSpace objects, 29(21MB) LOS objects, 49% free, 17MB/35MB, paused 3.540ms total 155.626ms 2021-11-16 10:19:20.986 22605-22616/com.seetec.box I/com.seetec.box: Background concurrent copying GC freed 864(224KB) AllocSpace objects, 31(21MB) LOS objects, 50% free, 19MB/38MB, paused 4.487ms total 178.955ms 2021-11-16 10:19:21.511 22605-22616/com.seetec.box I/com.seetec.box: Background concurrent copying GC freed 997(241KB) AllocSpace objects, 34(24MB) LOS objects, 50% free, 16MB/32MB, paused 2ms total 156.156ms 2021-11-16 10:19:21.981 22605-22616/com.seetec.box I/com.seetec.box: Background concurrent copying GC freed 827(222KB) AllocSpace objects, 26(18MB) LOS objects, 50% free, 19MB/38MB, paused 2.441ms total 165.008ms 2021-11-16 10:19:22.567 22605-22616/com.seetec.box I/com.seetec.box: Background concurrent copying GC freed 998(239KB) AllocSpace objects, 34(24MB) LOS objects, 49% free, 17MB/35MB, paused 1.057ms total 164.790ms 2021-11-16 10:19:23.128 22605-22616/com.seetec.box I/com.seetec.box: Background concurrent copying GC freed 943(239KB) AllocSpace objects, 30(21MB) LOS objects, 50% free, 17MB/35MB, paused 1.541ms total 147.129ms 2021-11-16 10:19:23.671 22605-22616/com.seetec.box I/com.seetec.box: Background concurrent copying GC freed 930(222KB) AllocSpace objects, 30(21MB) LOS objects, 49% free, 17MB/35MB, paused 4.825ms total 146.616ms

begeekmyfriend commented 3 years ago

所有的设备都这样吗?没有看到其他用户反馈

shaobin204 commented 3 years ago

@begeekmyfriend 我们是自己开发的安卓板子,所有机器都会,但是我跑demo确实是不会,好奇怪,我对比了代码也几乎都一样--懵了

begeekmyfriend commented 3 years ago

看上去像SDK的问题,不是demo的问题