Each process gets one contiguous block of memory from a list of free holes.
First fit takes the first hole that is large enough (fast, usually good); best fit takes the smallest sufficient hole (leaves small unusable fragments); worst fit takes the largest hole (leaves a large remainder, but performs poorly in practice).
It suffers from external fragmentation; compaction (moving processes to merge free space) can fix it but is expensive.
Loading…