Os Memory Management Questions
The role of memory defragmentation in memory management is to optimize the allocation of memory by rearranging fragmented memory blocks. It helps to reduce external fragmentation, where free memory is scattered in small chunks throughout the system, by consolidating the free memory blocks into larger contiguous blocks. This process improves memory utilization and allows for efficient allocation of memory to processes, ultimately enhancing the overall performance of the operating system.