Example: Contiguous memory management with fixed-size
partitions (first fit)
Memory is divided into fixed-sized partitions, entire processes
are allocated in one of these available partitions. in "first
fit" policy, the first partition which is large enough is selected.
Partitions
| Start address |
Size
Units |
| @4 |
10 |
| @14 |
5 |
| @19 |
4 |
| @23 |
15 |
| @38 |
10 |
| @48 |
14 |
|
Processes
| Process |
Size
Units |
| P1 |
5 |
| P2 |
10 |
| P3 |
3 |
|
Processes are allocated in the table order.
Comments:
- First-fit policy is fast but not efficient, partitions may be
larger than processes and generate much internal fragmentation.