3-Memory Management
3-Memory Management
b) Variable Partitioning
Variable partitioning allows memory to be divided based on
the actual needs of the processes, with each partition
varying in size.
• Dynamic Allocation: Partitions are created as needed,
optimizing memory usage.
• Reduced Internal Fragmentation: Allocating only the
necessary space minimizes wasted memory.
However, variable partitioning can lead to external
fragmentation, where free memory is divided into small,
unusable blocks.
4. Paging
Paging is a memory management scheme that eliminates
external fragmentation by dividing memory into fixed-size
blocks called pages. A program is similarly divided into
pages, which are loaded into memory frames.