implement glib GMemoryMonitor
Categories
(Core :: Widget: Gtk, enhancement, P3)
Tracking
()
People
(Reporter: okias, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
Steps to reproduce:
Please, hook into Firefox support for unloading background tabs, when under memory pressure.
[1] http://www.hadess.net/2019/12/gmemorymonitor-low-memory-monitor-2nd.html
[2] https://developer.gnome.org/gio/2.63/GMemoryMonitor.html
Actual results:
Right now, when system is under memory pressure, Firefox get killed due to high usage of memory.
Expected results:
When GMemoryMonitor is implemented, Firefox releases as much memory it can, so it prevent OOM urge to kill it due high memory usage.
Comment 1•4 years ago
|
||
Assigning "Core: Widget: Gtk" component for this bug.
Updated•4 years ago
|
Reporter | ||
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Feel free to implement that, Firefox Linux low memory monitor is implemented here:
https://searchfox.org/mozilla-central/source/xpcom/base/AvailableMemoryWatcherLinux.cpp#20
Description
•