Operating System Memory Management
Operating System Memory Management
1. Memory Allocation
• Contiguous Allocation: Assigns a single block of memory (Base & Limit Registers).
2. Address Translation
• Uses MMU (Memory Management Unit), page tables, and segment tables.
3. Protection
4. Fragmentation
5. Paging
6. Segmentation
• Divides memory into variable-sized segments (Code, Stack, Heap, Data, etc.).
7. Hardware Support
• MMU (Memory Management Unit): Translates logical → physical addresses.
• Page Table Base Register (PTBR): Stores page table location in RAM.
Logical Structure Does not follow program structure Matches program structure