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
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.

Simon

-- 
memory leak in gnome-power-manager on lucid
https://bugs.launchpad.net/bugs/569273
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to