- In the operating system, there are three forms of fragmentation. The following are some of them:
- Internal Disintegration-When a process is assigned to a memory block, a free space is created in the memory block if the process is smaller than the amount of memory requested. As a result, the memory block's empty area is underused, resulting in internal fragmentation.
- When a dynamic memory allocation mechanism allocates some memory but leaves a tiny portion of memory unusable, this is known as external fragmentation. If there is too much external fragmentation, the amount of usable RAM is drastically reduced. The memory space required to complete a request is available, but it is not contiguous. External fragmentation is the term for it.
- When a collection of data in memory is divided up into several fragments that are not close together, this is known as data fragmentation. It usually happens when you try to put a huge object into storage that has already been fragmented externally.
Read More: What is fragmentation in Operating System?