Internal Fragmentation vs External Fragmentation
Internal vs External
FragmentationUsers keep loading and unloading processes from main memory. Processes are typically stored in blocks in memory. The available memory blocks may not be large enough to accommodate processes that require contiguous memory space. This condition is called fragmentation. In other words, fragmentation occurs when a user dynamically allocates memory for a process and the process fails to load even though sufficient memory is available because continuous memory allocation is not possible .
When the process is loaded or removed from the memory, a free space is created. This free space creates an empty space in the memory which is called external fragmentation.
Get over 200+ course One Subscription
Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others