4. OVERLAYS
When more than one program is loaded into memory
overlays cannot operate
without interacting with
the operating system in
order to find out which
portions of memory are
available
5. PAGING
With Virtual Memory
By adding indirection we can solve the issue
Program Address maps to RAM Address
0
1
2
3
.
.
.
PROGRAM ADDRESS SPACE
(4 GB)
Page 0
Page 1
Page 2
RAM (1 GB)
MAP
6. PAGING
Program Address maps to RAM Address
PROGRAM ADDRESS SPACE
(4 GB)
RAM (1 GB)
MAP
Program 0
Program 0
Program 1
Program 1
Program 2
Program 2
Program 3
Program 3
Gives an illusion of unlimited memory
Performance will go down