I read about the OutOfMemory error in Android that appears when Android runs out of memory. Do we know that if my application consumes a certain amount of x MBmemory, will it throw an OutOfMemory error? Does Android support a certain amount of memory for each application, depending on the device and the total physical memory?
For example, I have a device with 2 GB of RAM installed, 500 MB takes up the OS, 500 MB for other applications. Now my application has 1,048 MB of memory to run. So, in this particular case, when does the system give OutOfMemory?
source
share