External allocation too large for this process in Android

后端 未结 2 547
鱼传尺愫
鱼传尺愫 2020-12-11 15:14

I\'m getting \"external allocation too large for this process\" errors in my app. Lots of these at once:

11-16 10:56:59.230: ERROR/dalvikvm-heap(287         


        
2条回答
  •  粉色の甜心
    2020-12-11 15:55

    adamp's comment was the answer in my particular case:

    The framework will often capture views onscreen into temporary bitmaps for drawing performance. It looks like your app is pushing right up against its memory limit already and this bumps it over. Take a look at the other suggestions for limiting your app's memory usage.

提交回复
热议问题