Bastien Nocera announced a new memory shortage handler for the Gnome desktop. Written in C. Licensed under GPL3. The daemon requires kernel version 5.2 or newer. It checks memory pressure via /proc/pressure/memory and, when the threshold is exceeded, notifies processes via dbus to curb their resource usage. The daemon can also attempt to maintain system responsiveness by writing to /proc/sysrq-trigger.
Project page: https://gitlab.freedesktop.org/hadess/low-memory-monitor/
Discussion on r/linux: https://www.reddit.com/r/linux/comments/ctyzhc/lowmemorymonitor_new_project_a…
Announcement on the author's blog: http://www.hadess.net/2019/08/low-memory-monitor-new-project.html
Source: linux.org.ru
