Out of memory error on android emulator, but not on device

后端 未结 6 2350
渐次进展
渐次进展 2020-12-05 18:42

On the Android Emulator, when I exit my app and run it again immediately, I get

OutOfMemoryError: bitmap size exceeds VM budget.

But on th

6条回答
  •  独厮守ぢ
    2020-12-05 19:17

    Here is a lazy for how to find the options to manipulate heapsize for emulator from Andriod studio 1.2.0

    1. Menu Tools->Android->AVD Manager
    2. edit the virtual device of choice
    3. click advanced settings and scroll down

    Change VM heap in android studio

提交回复
热议问题