Is There A Way To Impose A Memory Limit On An Android App For Testing?
I'm looking for something similar to the JVM heap memory limit option -Xmx. Is there a simple way to do this on Android?
Solution 1:
If you're using an emulator, you can specify the VM Heap parameter when creating the AVD. That's the memory that standard apps will have available.
If it's a real device, however, I don't think this parameter can be changed (at least on a non-rooted one).
Post a Comment for "Is There A Way To Impose A Memory Limit On An Android App For Testing?"