December 2018
Intermediate to advanced
552 pages
12h 18m
English
External fragmentation refers to the process by which memory is allocated and deallocated in different sized chunks, ultimately leading to large amounts of unusable, unallocatable memory. To demonstrate this, suppose we have five allocations:

All five allocations succeed, and all of the memory is allocated. Now, let's suppose that the second and fourth allocations are released back to the heap:

By releasing memory back to the heap, memory is now available for allocation again. The problem is that this memory is spread ...
Read now
Unlock full access