Red Hat developer Bastien Nocera
The principle of operation is simple. The Low-Memory-Monitor daemon monitors free RAM and notifies other user-space applications when it becomes critically low. After that, you can select the necessary action - disabling unnecessary programs, stopping their work, and so on.
By the way, an analogue of Low-Memory-Monitor has been on Android for a long time. The program itself
At the same time, we note that a similar problem on Windows does not lead to a "freeze" of the desktop. Although it is possible that the explorer.exe process will simply “fly out” of memory and will have to be started manually. But at the same time, the desktop itself will function as before.
Thus, it turns out that proprietary programs also have a couple of tricks up their sleeve, and open source is not always good only because of its openness.
Source: 3dnews.ru