Memory Management .... by NFLPVM
Memory Management .... by NFLPVM
Operating Sytems
Lecture 4
Today
• We’ll try to finish most of memory
management today
• EXAM two weeks from today
– Material covered only up through today
• Lab before exam will be a study session
for the exam
Early memory management
schemes
• Originally used to devote computer to
single user:
0 65535
Limitations of single-user
contiguous scheme
• Only one person using the machine--lots of
computer time going to waste (why?)
• Largest job based on size of machine
memory
Next: fixed partitions
• Created chunks of memory for each job:
0 65535
Limitations of fixed partitions
• Operator had to correctly guess size of
programs
• Programs limited to partitions they were
given
• Memory fragmentation resulted
• The kind illustrated here is called internal
memory fragmentation
Dynamic Partitions
1 1
6
2
3 5
4 7
Internal versus external memory
fragmentation:
Space currently allocated by Job 8
Job 8