How much memory does an Android tablet allocate for application execution? As I know, Android applications use 16MB memory for their execution, how much memory is used when I execute an application on a Tablet(in SDK 3.1).
Does a device device give more memory for execution if it is available, because normally a tablet has more memory than a mobile device.
Also, I want know is whether cache & data base memory is a part of that 16Mb memory allocated by a device for the application. And how I can use cache memory for my application so that my application memory & performance are increased.
Write an app for your tablet that calls
getMemoryClass()onActivityManagerto find out the per-application heap for that device.Neither cache nor “data base” is held in memory. They are held in on-board flash storage, treated as a disk.