! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
the power manager plugin for the panel leaks memory
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Timo Paulssen 2015-02-13 17:29:09 CET
All I can say is I'm now at 750 megabytes of RSS used for the process

/usr/lib64/xfce4/panel/wrapper /usr/lib64/xfce4/panel/plugins/libxfce4powermanager.so 5 29360173

and it's quite slowly, but steadily growing.

My version is 1.4.2, as obtained from the fedora 21 repos
Comment 1 Eric Koegel editbugs 2015-02-18 17:42:19 CET
Created attachment 5962 
Plug a memory leak

Can you try out this patch and see if it helps? It was the only
leak I was seeing with the testing I did, but you might be hitting
a different code path. Thanks!
Comment 2 Eric Koegel editbugs 2015-02-18 17:43:03 CET
Note: If you're pulling from git, that patch is already applied there.
Comment 3 Steve Dodier-Lazaro editbugs 2015-02-28 00:01:19 CET
Tested git head, and i could not leak more than 200KB memory over hours (as opposed to leaking 60MB before). Will further check by running valgrind, but I expect this specific bug report should be closed.

Bug #11538

Reported by:
Timo Paulssen
Reported on: 2015-02-13
Last modified on: 2015-02-28

People

Assignee:
Ali Abdallah
CC List:
4 users

Version

Attachments

Plug a memory leak (882 bytes, patch)
2015-02-18 17:42 CET , Eric Koegel
no flags

Additional information