vagnum08 / cpupower-gui

cpupower-gui is a graphical program that is used to change the scaling frequency limits of the cpu, similar to cpupower.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Memory Leak

psypherium opened this issue · comments

This program has a memory leak.

Program was installed via the AUR.

I will look into it. I don't have an arch install at the moment. I am testing it now on Debian Testing.

The memory usage is around 24 MiB.

It uses about 30 MB on my arch install w/ Gnome desktop (using non-git package aur/cpupower-gui 1.0.0-3). It increases by a few hundreds KB's every couple of minutes though.

I will look into it.

Thank you for CPU Power GUI. The leak is not from cpupower-gui-helper, but from cpupower-gui --gapplication-service. On Manjaro (based on Arch), current version 1.0.0 (from AUR):

ps aux | grep -i cpupower-gui | grep --invert-match grep
root         661  0.0  0.0  40296  6920 ?        Ss   Dec10   2:57 /usr/bin/python3 /usr/lib/cpupower-gui/cpupower-gui-helper
pkehl     230278  2.2  0.8 632324 67636 ?        Sl   12:19   0:01 /usr/bin/python3 /usr/bin/cpupower-gui --gapplication-service

## the same a few minutes later:
root         661  0.0  0.0  40296  6920 ?        Ss   Dec10   2:57 /usr/bin/python3 /usr/lib/cpupower-gui/cpupower-gui-helper
pkehl     230278  1.2  0.8 632588 67892 ?        Sl   12:19   0:02 /usr/bin/python3 /usr/bin/cpupower-gui --gapplication-service