Hi,
While creating an AVD through eclipse i found that in the 'hardware' attributes we can specify the VM heap size and device RAM ?
VM heap size is the memory allocated to the DAlvik VM i guess (default is 16MB) and the max memory available to the application(s) which will be developed on the emulator.For a real mobile this size can vary (say 256MB,512MB,etc..) correct me if i am wrong.
What does Device RAM mean ?? Can anyone please explain?
Also i was trying to find out the max memory available (i.e. on an emulator it is 16MB ), memory consumed and available memory programmatically.
I went through
1)android.app.ActivityManager.MemoryInfo
2)android.os.Debug.MemoryInfo
3)java.lang.Runtime classes
I also ventured into ddmlib jar to explore. Are there any classes which will help ?
Can anyone please help suggest something?
Attached is the image while creating an AVD
.
Thanks,
Adithya.