Dalvik Memory Allocation - How to change the default limits?

后端 未结 3 516
野趣味
野趣味 2020-12-10 17:41

I am currently considering to develop an application for processing of images captured by the camera of mobile phones using the Android OS. Before I make the decision to go

3条回答
  •  Happy的楠姐
    2020-12-10 17:45

    You can change the default global heap size via adb shell setprop, for instance:

       setprop dalvik.vm.heapsize 128m
    

提交回复
热议问题