0% found this document useful (0 votes)
43 views6 pages

A Comparison of Android and IOS Virtual-Memory Management - 2

Uploaded by

kr gael
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views6 pages

A Comparison of Android and IOS Virtual-Memory Management - 2

Uploaded by

kr gael
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

A Comparison of

Android and iOS Virtual


Memory Management
This presentation will delve into the virtual memory
management techniques employed by Android and iOS
operating systems. We'll examine their core
functionalities, compare their performance characteristics,
and highlight key differences in their approaches.

By Nthabiseng Phelane 215231473


NP
Gael Kapia Kalala 230150438
Tebogo Mashabane 219320926
Introduction to Virtual Memory Managemen
Memory Illusion Swapping Page Table
Virtual memory creates the Unused portions of programs A data structure maps virtual
illusion of more RAM than are temporarily stored on disk. addresses to physical ones.
physically available.
It allows mobile devices to run Virtual memory is the process
Both Android and iOS use multiple apps smoothly. by which an OS uses disk
virtual memory techniques but space as "extended" RAM.
have different
implementations.
Android Virtual Memory Management
Memory Management Unit (MMU) Low Memory Killer

Android utilizes a hardware-based MMU to translate A system service that identifies and terminates
virtual addresses to physical addresses. processes to free up RAM.

• Handles page faults and memory protection • Prioritizes system processes and foreground apps
• Relies on demand paging, loads memory pages • It employs a low memory killer to free up
only when needed. memory by terminating background processes
that are not in use.
iOS Virtual Memory Management
Memory Management Unit (MMU) Page-Based Swapping

Like Android, iOS relies on a hardware MMU to iOS employs a page-based swapping mechanism
translate virtual addresses into physical ones. This where inactive memory pages are moved to
process enables efficient memory access and secondary storage (disk). This frees up RAM for active
protection. processes.
• Handles page faults and memory protection, • Reduces memory pressure,
• Compresses inactive data in RAM instead of • Provides memory pressure notifications to apps,
moving it to disk storage, allowing them to release memory when the
• Suspends background apps, preserving state system is running low,
without terminating them for quick app • Uses Mach kernel with memory compression
recovery. instead of swapping.
Performance
Comparison of Android
and iOS

Android iOS
Android's virtual memory iOS generally exhibits better
management can experience memory management
some performance efficiency and responsiveness,
fluctuations, particularly under often attributed to its tighter
heavy multitasking or control over the system and
resource-intensive apps. app processes.

Ensures that active Helps apps release memory


applications have enough when needed, maintaining
memory by terminating system performance.
background processes.
Conclusion
Android iOS
Android prioritizes flexibility and customization, but iOS emphasizes tight control over the system,
this can lead to performance variations in virtual resulting in generally more efficient virtual memory
memory management. management and a smoother user experience.
• Both Android and iOS have robust virtual • Choice between Android and iOS may depend
memory management systems tailored to on specific needs such as multitasking
their architecture and design philosophy. efficiency or memory management
preferences.

You might also like