Memory Reallocation of the Android OS


Last Updated:

  1. appleaj

    appleaj Well-Known Member This Topic's Starter

    Joined:
    Apr 12, 2010
    Messages:
    440
    Likes Received:
    55
    From what I've read on these forums, Android only uses what programs are necessary and that the other programs, while taking memory, aren't hurting battery life or utilizing the CPU. So therefore, the task killers are useless and only cause more battery usage by causing the need to restart these programs.

    So my question is to those who understand memory allocation, what happens when you run out of memory? What priorities does Android go by?
     

    Advertisement
  2. IanGClifton

    IanGClifton Well-Known Member

    Joined:
    Feb 7, 2010
    Messages:
    111
    Likes Received:
    19
    Empty processes go first (basically just memory kept around to improve app start-up times)
    Background processes go second (such as an app that has been stopped and has no threads assigned to it)
    Service processes go third (a running service that has not had its priority raised)
    Visible processes goes fourth (typically this is a process that has another activity partly obscuring it)
    and the active process goes last (the one the user is interacting with)
     

Share This Page

Loading...