← Operating Systems learning pathOperating Systems · Module 6 of 10
Memory management
Allocate memory to processes efficiently.
📖 Key ideas
- The OS allocates and protects memory for each process.
- Contiguous allocation causes fragmentation.
- Paging splits memory into fixed-size pages and frames.
- Segmentation divides memory by logical segments.
- The MMU translates logical to physical addresses.
💡 Real-life example: Paging is a parking lot with numbered equal slots; any car (page) can park in any free slot (frame).
PagingFixed-size memory blocks
FramePhysical memory block
FragmentationWasted memory space
MMUMemory Management Unit