memory fragmentation

Free memory broken into many small scattered gaps, so a large block cannot be allocated even though enough memory is free in total.

In more detail

Many small allocations of different lifetimes cause it. Slab allocators and compacting garbage collectors reduce it.

Related terms

Taught in

References