the correct solution is to have overcommit disabled and then monitor VM pressure so you can add or remove swap pages as needed. every other OS besides Linux and BSD get this right.
Quote Tweet
Replying to @pcwalton and @slava_pestov
Overcommit is just an operating system bug. Write software assuming it doesn't exist and users who don't like shit crashing can turn it off.
2
2
7



