- Contiguous allocation — each process gets one block; strategies First fit, Best fit, Worst fit; causes external fragmentation.
- Paging — logical memory split into fixed-size pages, physical memory into frames of the same size; a page table maps them.
- Segmentation — memory divided by logical units (code, stack, data) of different sizes.
- TLB — fast cache of recent page-table entries.
Pages do not need to be next to each other in physical memory
| Internal fragmentation | External fragmentation |
|---|---|
| Wasted space inside an allocated block | Free space is split into small holes between blocks |
| Happens in paging (last page) | Happens in contiguous allocation / segmentation |
| Fix: smaller blocks | Fix: compaction or paging |