Sunday 11 November 2012

Memory management in Android


                 Android devices are usually battery-powered and it is designed to manage memory (RAM) to keep power consumption at a minimum.When an Android application is no longer in use, the system will automatically suspend it in memory - while the application is still technically "open," suspended applications consume no resources (e.g. battery power or processing power) and sit idly in the background until needed again.

                    This has the dual benefit of increasing the general responsiveness of the device, since applications don't need to be closed and reopened from scratch each time, but also ensuring background applications don't waste power needlessly.

                  
                   Android manages the applications stored in memory automatically: when memory is low, the system will begin killing applications and processes that have been inactive for a while, in reverse order since they were last used.. This process is designed to be invisible to the user, such that users do not need to manage memory or the killing of applications themselves.

             Confusion over Android memory management has resulted in third-party task killers becoming popular on the Google play store, where users mistakenly believe that they are required to manage applications and RAM themselves, similar to on a desktop operating system such as Windows.Third-party Android task killers are generally regarded as doing more harm than good.

No comments:

Post a Comment