logoalt Hacker News

aheppyesterday at 9:08 PM2 repliesview on HN

what behavior would you like to see when primary memory is under extreme pressure?


Replies

baqyesterday at 9:18 PM

See mac or windows: grow swap automatically up to some sane limit, show a warning, give user an option to kill stuff; on headless systems, kill stuff. Do not page out critical system processes like sshd or the compositor.

A hard lock which requires a reboot or god forbid power cycling is the worst possible outcome, literally anything else which doesn’t start a fire is an improvement TBH.

show 1 reply
jhasseyesterday at 9:22 PM

Same as Windows. Instead the system freezes.