The heap of gnome-power-manager grows by 4kB every second (in my case). If I take out the battery from my laptop, the memory leak stops.
On my machine upowerd is sending some sort of battery message over dbus roughly once per second. gnome-power-manager
is calling app_indicator_set_menu() every second which uses more heap memory each time. I am not sure
why the heap is not freed since I have not had time to figure how application indicators work. I suspect that gnome-power-manager has not been patched correctly to use application indicators but have no proof.
Hi Sebastien,
I use the command in comment #1:
watch -n1 'grep heap -A11 /proc/$( pidof gnome-power-manager )/smaps'
The heap of gnome-power-manager grows by 4kB every second (in my case). If I take out the battery from my laptop, the memory leak stops.
On my machine upowerd is sending some sort of battery message over dbus roughly once per second. gnome-power-manager set_menu( ) every second which uses more heap memory each time. I am not sure
is calling app_indicator_
why the heap is not freed since I have not had time to figure how application indicators work. I suspect that gnome-power-manager has not been patched correctly to use application indicators but have no proof.
Simon