• Extensive use of shared memory • Framework code and resources • Most static data(Dalvik code , app resources , .so files) is mmapped into a process. • Android shares the same dynamic RAM across processes using explicitly allocated shared memory regions.
managing out of memory (oom) issues to the user space • It does this by allowing the user-space to maintain a list of adjustments and a corresponding list of thresholds (units are in memory pages - usually 4K) at which point processes with these adjustments should be killed. • The actually killing of process is done by the lowmemorykiller
adjustments (oom_adj) to processes continuously. • Lower value has higher priority • Range is from -17 (not killable) to 15 (hidden/cached apps) • System process runs at -16
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user.
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE Process not being directly interacted by user like music app , keyboard
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE Process not being directly interacted by user like music app , keyboard SERVICE A Process running background services which are recently started
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE Process not being directly interacted by user like music app , keyboard SERVICE A Process running background services which are recently started HOME Launcher application process
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE Process not being directly interacted by user like music app , keyboard SERVICE A Process running background services which are recently started HOME Launcher application process PREVIOUS Last used application process
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE Process not being directly interacted by user like music app , keyboard SERVICE A Process running background services which are recently started HOME Launcher application process PREVIOUS Last used application process SERVICE B Process running background services since long time.
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE Process not being directly interacted by user like music app , keyboard SERVICE A Process running background services which are recently started HOME Launcher application process PREVIOUS Last used application process SERVICE B Process running background services since long time. CACHED Other process which you can see in the recent apps
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE Process not being directly interacted by user like music app , keyboard SERVICE A Process running background services which are recently started HOME Launcher application process PREVIOUS Last used application process SERVICE B Process running background services since long time. CACHED Other process which you can see in the recent apps
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE Process not being directly interacted by user like music app , keyboard SERVICE A Process running background services which are recently started HOME Launcher application process PREVIOUS Last used application process SERVICE B Process running background services since long time. CACHED Other process which you can see in the recent apps
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE Process not being directly interacted by user like music app , keyboard SERVICE A Process running background services which are recently started HOME Launcher application process PREVIOUS Last used application process SERVICE B Process running background services since long time. CACHED Other process which you can see in the recent apps
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE Process not being directly interacted by user like music app , keyboard SERVICE A Process running background services which are recently started HOME Launcher application process WALLPAPER GONE !! PREVIOUS Last used application process SERVICE B Process running background services since long time. CACHED Other process which you can see in the recent apps
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE Process not being directly interacted by user like music app , keyboard SERVICE A Process running background services which are recently started HOME Launcher application process WALLPAPER GONE !! PREVIOUS Last used application process SERVICE B Process running background services since long time. CACHED Other process which you can see in the recent apps
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE MUSIC GONE!! SERVICE A Process running background services which are recently started HOME Launcher application process WALLPAPER GONE !! PREVIOUS Last used application process SERVICE B Process running background services since long time. CACHED Other process which you can see in the recent apps
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE MUSIC GONE!! SERVICE A Process running background services which are recently started HOME Launcher application process WALLPAPER GONE !! PREVIOUS Last used application process SERVICE B Process running background services since long time. CACHED Other process which you can see in the recent apps
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE MUSIC GONE!! SERVICE A Process running background services which are recently started HOME Launcher application process WALLPAPER GONE !! PREVIOUS Last used application process SERVICE B Process running background services since long time. CACHED Other process which you can see in the recent apps
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE MUSIC GONE!! SERVICE A Process running background services which are recently started HOME Launcher application process WALLPAPER GONE !! PREVIOUS Last used application process SERVICE B Process running background services since long time. CACHED Other process which you can see in the recent apps
SYSTEM System server PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE MUSIC GONE!! SERVICE A Process running background services which are recently started HOME Launcher application process WALLPAPER GONE !! PREVIOUS Last used application process SERVICE B Process running background services since long time. CACHED Other process which you can see in the recent apps
SYSTEM System server DEVICE REBOOTS PERSISTENT telephony , wifi , buetooth PERSISTENT SERVICE This is a process that the system or a persistent process has bound to FOREGROUND This is the process running the current foreground app VISIBLE hosting only activities that are visible to the user. PERCEPTIBLE MUSIC GONE!! SERVICE A Process running background services which are recently started HOME Launcher application process WALLPAPER GONE !! PREVIOUS Last used application process SERVICE B Process running background services since long time. CACHED Other process which you can see in the recent apps
size • Things that take space in your APK tend to take memory at runtime too • Resources , bitmaps , .so files etc. • 3rd party libraries • Use App Bundle