Chapter 6 Memory Management
Chapter 6 Memory Management
Management
Memory
Management
Terms
Memory Management
Requirements
Memory management is intended to satisfy the
following requirements:
Relocation
Protection
Sharing
Logical organization
Physical organization
Relocation
Programmers typically do not know in advance which other programs
will be resident in main memory at the time of execution of their
program
External Fragmentation
• memory becomes more and more fragmented
• memory utilization declines
Compaction
• technique for overcoming external fragmentation
• OS shifts processes so that they are contiguous
• free memory is together in one block
• time consuming and wastes CPU time
Placement Algorithms
Relative
Physical or Absolute
Pages Frames
• chunks of a • available
process chunks of
memory
Assignment of
Process to
Free Frames
Page Table
Maintained by operating system for each process
16-bit address