Multitasking is an important part of the Android OS. Android OS helps in better multitasking by keeping some apps running in background. When the number of background apps increases, some apps are killed by the OS. When this happens, some apps which the user wants to run in the background might get killed.
There is a way out of this. The Android user can lock the apps in the memory to prevent it from being killed by the OS. This involves creating a new local.prop file in the /data directory and then just entering a few lines to edit this file.