包容柠檬

文章
5
资源
0
加入时间
3年1月13天

java.lang.OutOfMemoryError Failed to allocate a

问题:需求中需要定时上报定位数据,但是测试中后台关闭,导致数据本地累计1000多条,这时就不能一次上报了,因为上报的数据太大,会让配置低的手机OOMjava.lang.OutOfMemoryErrorFailed to allocate a 3646464 byte allocation with 2783400 free bytes and 2MB until OOMcom.google...