Difference Between Internal Fragmentation and External Fragmentation
BASIS FOR COMPARISON | INTERNAL FRAGMENTATION | EXTERNAL FRAGMENTATION |
---|---|---|
Basic | It occurs when fixed sized memory blocks are allocated to the processes. | It occurs when variable size memory space are allocated to the processes dynamically. |
Occurrence | When the memory assigned to the process is slightly larger than the memory requested by the process this creates free space in the allocated block causing internal fragmentation. | When the process is removed from the memory, it creates the free space in the memory causing external fragmentation. |
Solution | The memory must be partitioned into variable sized blocks and assign the best fit block to the process. | Compaction, paging and segmentation |
Difference Between Internal Fragmentation and External Fragmentation
Reviewed by Pappy
on
September 21, 2019
Rating:
No comments: