# How is segmentation a solution to external fragmentation

As per Galvin's book, segmentation is the solution to external fragmentation. But in segmentation, the memory blocks are of different sizes. So, if one segment is removed that creates a hole. If we put the small segment many times then this creates external fragmentation. How, then, is segmentation solution to external fragmentaton?

• Segmentation is not really regarded as a solution to external fragmentation. Jul 25 at 13:10