Maximum native memory that can be allocated to an android app

前端 未结 3 683
执笔经年
执笔经年 2020-12-10 15:07

The size of the VM heap cannot exceed 16mb, 24mb, 32mb depending on the phone. But what is the maximum size of the native heap? How much native memory can be allocated to th

3条回答
  •  余生分开走
    2020-12-10 15:23

    adb shell dumpsys meminfo PACKAGENAME will give you native and dalvik memory usage of your app.

提交回复
热议问题