1

I'm looking for something similar to the JVM heap memory limit option -Xmx. Is there a simple way to do this on Android?

biggvsdiccvs
  • 299
  • 3
  • 12

1 Answers1

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.

enter image description here

If it's a real device, however, I don't think this parameter can be changed (at least on a non-rooted one).

matiash
  • 54,791
  • 16
  • 125
  • 154