Internal Fragmentation in OS (original) (raw)

Last Updated : 15 Apr, 2026

Internal Fragmentation is the wastage of memory that occurs when fixed-sized memory blocks are allocated to processes, but the process does not use the entire allocated block. The unused portion inside the allocated block remains idle, resulting in poor memory utilization.

Internal Fragmentation

Caused of Internal Fragmentation

**Example:

Let's assume that the system that is being used assigns the memory in blocks of sizes being multiples of 4(like 12, 24, 32,..). In this system when a process **P1 requests an amount of memory that is not a multiple of 4, it is assigned a memory block of value of the nearest higher multiple.

frame_3092

This 3 KB loss is internal fragmentation.

Effect of Internal Fragmentation

Due to Internal Fragmentation various types of effects occurs:

Why Internal Fragmentation is Allowed?

As Internal Fragmentation is nothing but a problem there isn't any significant advantage that it provides to the system. But there are a couple of things that favor causing it, which are:

Ways to Avoid Internal Fragmentation

There are several ways to avoid Internal fragmentation. Some of them are mentioned below.