Is there a way to expand the VM limit in Android 2.0 on an actual device? Using java.lang.Runtime.maxMem()
on a Droid reveals a limit of 24MB, and I've written some code that incrementally allocates memory until failure to verify that figure. You can set the VM size in the emulator, but I haven't yet found a way to do that for a connected phone. Is there some type of a properties file on the device itself that can be modified?
views:
71answers:
2
A:
Not without modifying the firmware, or perhaps rooting the device.
CommonsWare
2009-11-23 19:29:46
A:
Okay assuming that one had Root access how do you do that? Mcbain how did you increase the limit in the emulator? I am trying to run some custom software on a relatively custom platform and need to know how to increase the VM size.
Adam
2009-12-13 07:27:16