D17217: Implement free memory notifier
Oleg Solovyov
noreply at phabricator.kde.org
Wed Nov 28 14:04:38 GMT 2018
McPain created this revision.
McPain added a reviewer: broulik.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
McPain requested review of this revision.
REVISION SUMMARY
FreeMemoryNotifier will warn when free RAM is running out.
By default, it is 25% without swap space.
Like freespacenotifier, it will check every 5 seconds for amount of free memory and
warn every time when it drops below limit and when free space amount drops more than half of previous value
User can either kill most greedy process immediately or open a task manager to kill unneeded processes manually.
Task manager was patched to ignore global config and show only user own processes, sorted by memory used in descending order.
The settings are available at new KCM located in Desktop Behavior category.
KCM and KDED modules are linked through DBus - committed settings are applied immediately.
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D17217
AFFECTED FILES
plasma-workspace/CMakeLists.txt
plasma-workspace/freememorynotifier/CMakeLists.txt
plasma-workspace/freememorynotifier/COPYING
plasma-workspace/freememorynotifier/Messages.sh
plasma-workspace/freememorynotifier/README
plasma-workspace/freememorynotifier/freememorynotifier.cpp
plasma-workspace/freememorynotifier/freememorynotifier.desktop
plasma-workspace/freememorynotifier/freememorynotifier.h
plasma-workspace/freememorynotifier/freememorynotifier.kcfg
plasma-workspace/freememorynotifier/freememorynotifier.notifyrc
plasma-workspace/freememorynotifier/freememorynotifier_prefs_base.ui
plasma-workspace/freememorynotifier/kcm_freememorynotifier.cpp
plasma-workspace/freememorynotifier/kcm_freememorynotifier.desktop
plasma-workspace/freememorynotifier/kcm_freememorynotifier.h
plasma-workspace/freememorynotifier/module.cpp
plasma-workspace/freememorynotifier/module.h
plasma-workspace/freememorynotifier/org.kde.FreeMemoryNotifier.xml
plasma-workspace/freememorynotifier/settings.kcfgc
plasma-workspace/systemmonitor/ksystemactivitydialog.cpp
plasma-workspace/systemmonitor/ksystemactivitydialog.h
plasma-workspace/systemmonitor/main.cpp
To: McPain, broulik
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181128/7d872c2b/attachment.html>
More information about the Plasma-devel
mailing list