5.memory Management
5.memory Management
5.memory Management
Unit-5
MEMORY MANAGEMENT
Marks-14
By: Mr.A.D.Cholke
MEMORY MANAGEMENT
Memory Management
• Introduction-
• Memory management is the important function of an operating system which
handles or manages primary memory and moves processes back and forth
between main memory and disk during execution.
• Memory management keeps track of each and every memory location,
regardless of either it is allocated to some process or it is free.
• It checks how much memory is to be allocated to processes.
• It decides which process will get memory at what time.
• It tracks whenever some memory gets freed or unallocated and correspondingly
it updates the status..
Memory Management
• Memory Partitioning-
• Memory partitioning is the system by which the memory of a computer system is
divided into sections for use by the resident programs.
• These memory divisions are known as partitions.
• There are different ways in which memory can be partitioned:
1. Static partitioning (fixed)-
2. Dynamic partitioning (variable)-
Memory Management
• Memory Partitioning-
1. Static Partitioning (fixed)-
• This is the oldest and simplest technique used to put more than one processes in
the main memory.
• In this partitioning, number of partitions
(non-overlapping) in RAM are fixed but
size of each partition may or may not be same.
• As it is contiguous allocation, hence no
spanning is allowed.
• Here partition are made before execution or
during system configure.
Memory Management
• Memory Partitioning-
2. Dynamic Partitioning (Variable)-
• Initially RAM is empty and partitions are made
during the run-time according to process’s need
instead of partitioning during system configure.
• The size of partition will be equal to incoming
process.
• The partition size varies according to the need of
• the process so that the internal fragmentation can
be avoided to ensure efficient utilization of RAM.
• Number of partitions in RAM is not fixed and depends
on the number of incoming process and Main Memory’s size.
Memory Management