3 ms·
I don't think I understand. Isn't it enough that each tab is treated as a separate process, so the normal per-process OOM logic can decide to kill a tab process
by simiones 3y ago
I don't think I understand. Isn't it enough that each tab is treated as a separate process, so the normal per-process OOM logic can decide to kill a tab process just like it might decide to kill, say, Thunderbird?
- vlovich123 3y agoLet’s say you have some photo editor using 3 GiB of memory and Chrome using 20 GiB of memory because a lot of tabs are open. Any given tab is < 1 GiB. What should you kill? Logically, you’d want to start killing Chrome tabs as they’re your best bet to recoup the most amount of memory even though no single process is the largest but “kill largest process” is going to kill the 1 GiB. Another instance of this is a shell fork bomb - your memory is used up but each individual fork uses very little and killing the largest process won’t help.