How to increase heap size of an android application?

后端 未结 7 1680
天涯浪人
天涯浪人 2020-11-22 06:41

I am writing an Android application which uses several 3D models. Such a model with textures can take up a lot of memory. I found out the manufacturer sets a limit on the he

7条回答
  •  别那么骄傲
    2020-11-22 07:03

    Use second process. Declare at AndroidManifest new Service with

    android:process=":second"
    

    Exchange between first and second process over BroadcastReceiver

提交回复
热议问题