On Android, when I look into \"Setting\" -> \"App\", under the tab \"running\", I can see the memory is cut into to parts: \"used memory\" and \"memory free\", also the appl
Process ranks
The Android operating system tries to maintain the application running for as long as possible, but when the available memory is low, it will try to free resources in the system by killing the processes with lower importance frst.
This is when process ranking comes into the picture; the Android processes are ranked in the next fve categories from the higher priority to the lower priorities:
When the system reaches a point that it needs to release resources, the processes available to be killed will be sorted, taking into account the process rank, last used processes, and components running.
Source :
Asynchronous Android Programming - Second Edition - Helder Vasconcelos - July 2016