Algorithms

Fragmentation

When free memory ends up split into many small gaps, after asking for and freeing memory many times.

Example

There can be 100 MB free in 1 MB gaps: an array that needs 10 MB in a row fits in none of them.

Test yourself: Fragmentation

Memory and cache

What is memory fragmentation?

Lessons that use it

More algorithms terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.