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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s