Non-continuous memory Allocation:
Fragmentation problem occurs when RAM is allocated to processes continuously. This is done in paging and segmentation, where memory is allocated to processes non-contiguously. As a result, if you remove this condition, external fragmentation may be decreased.
This is another method for removing external fragmentation. External fragmentation can be decreased when dynamic partitioning is used for memory allocation by combining all free memory into a single large block. The larger memory block is used to allocate space based on the requirements of the new processes. This method is also known as defragmentation.