Skip to content

gio: Add GMemoryMonitor to monitor for low-memory

Bastien Nocera requested to merge wip/hadess/add-memory-monitor into master

Add a memory monitor object, with D-Bus and Portal based implementations. The D-Bus implementation uses the Linux-only low-memory-monitor Freedesktop project.

The API is simple, similarly to equivalent functionality on iOS and Android platforms.

Prior art:

Fixes: #969 (closed)

Edited by Philip Withnall

Merge request reports