Explain Fragmentation

Q1. Explain Fragmentation.

Ans. The process of allocation of memory is ready only half of the story of the memory management. We must also be able to de-allocate or free memory. When memory is free from a segment, it leaves a hole of a certain size, which is added to the free list. Eventually, the number of these holes grows quite large and the memory is said to be fragmented.

Fragmentation can lead to wasted resources and we would definitely like to reuse the free memory as far as possible. The problem becomes critical when the size of hole is not big enough to hold the data segment.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: