CREATE OWN LIBRARY

Non-contiguous Memory Allocation

 

Introduction: Non-contiguous Memory Allocation

As we know at dynamic memory allocation still has external fragmentation due to contiguous memory allocation so, one of the solutions to this problem is to use non-contiguous memory allocation.

 

#According to the free random hole created at the memory, so, it is difficult to break the process into different sizes. That’s why here breaks the process into the same equal partition and memory partition also according to the partition of process. 

 

Every partition of the process is called a page and the partition of the memory called a frame because pages fit in the frames. Page size and frame size must be equal.

 

Frames (Physical address page): A frame is a unit of physical memory. Actually, physical memory space is divided into blocks of the same size which is called frames. 

 

Pages (Logical or virtual address page): A process is divided into some units with the same size is called a page. Every process has logical memory and logical memory is divided into blocks of the same size is called pages.

 

Let a process with size 40MB and main memory is 160MB. Now we divided the pages in equal size which divided 5 pages with each size 8MB.  As we know page size and memory frame size is the same so, also divided the memory into 20 frames with size 8MB.