Memory MonitorπŸ”—

DescriptionπŸ”—

Memory monitoring portal

The Memory Monitor interface provides information about low system memory to sandboxed applications. It is not a portal in the strict sense, since it does not involve user interaction. Applications are expected to use this interface indirectly, via a library API such as the GLib GMemoryMonitor interface.

This documentation describes version 1 of this interface.

PropertiesπŸ”—

org.freedesktop.portal.MemoryMonitor:versionπŸ”—

version readable u

SignalsπŸ”—

org.freedesktop.portal.MemoryMonitor::LowMemoryWarningπŸ”—

LowMemoryWarning (
  level y
)

Signal emitted when a particular low memory situation happens with 0 being the lowest level of memory availability warning, and 255 being the highest. Those levels are defined and documented in Low Memory Monitor’s documentation.

level

An integer representing the level of low memory warning.