top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is fragmentation and it's type ?

+3 votes
338 views
What is fragmentation and it's type ?
posted Nov 13, 2014 by Neeraj Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Fragmentation occurs in a dynamic memory allocation system when many of the free blocks are too small to satisfy any request.there is two types of Fragmentation:

External Fragmentation: External Fragmentation happens when a dynamic memory allocation algorithm allocates some memory and a small piece is left over that cannot be effectively used. If too much external fragmentation occurs, the amount of usable memory is drastically reduced. Total memory space exists to satisfy a request, but it is not contiguous.

Internal Fragmentation: Internal fragmentation is the space wasted inside of allocated memory blocks because of restriction on the allowed sizes of allocated blocks. Allocated memory may be slightly larger than requested memory; this size difference is memory internal to a partition, but not being used

answer Nov 29, 2014 by Vrije Mani Upadhyay
...