When memory is exhausted, the kernel's OOM killer selects the process with the lowest oom_score to terminate first.