Red Hat Bugzilla – Bug 522310
Memory leak on show/hide
Last modified: 2009-09-15 02:19:06 EDT
The IBus python process leaks memory when Anthy is the active IME and the bar is shown and/or hidden (not entirely certain which). It does not leak with LaTeX or Compose IMEs. Have not tested others.
Still leaky after upgrading to ibus-126.96.36.19990829-1.fc11.x86_64.
I cannot reproduce your problem.
How do you check the memory leaks?
> when Anthy is the active IME and the bar is shown and/or hidden
Do you mean left click on ibus icon on gnome-panel?
I tried to click 'Anthy' and 'No input method' but I could not see any problems.
(In reply to comment #2)
> How do you check the memory leaks?
I run top in a terminal and sort by RSS.
> > when Anthy is the active IME and the bar is shown and/or hidden
> Do you mean left click on ibus icon on gnome-panel?
When I use the hotkey to show/hide the bar (Ctrl-Space here).
It takes a few cycles to see a change in top, but when I hold down the hotkey it rapidly shows and hides the bar, and in top I see the RSS increase at about 4MB per second.
It seems /usr/share/ibus/ui/gtk/main.py and PyGTK debug is needed.
It would need time and the file belongs to ibus so I transfer this at the moment.
I could see the issue when Type Shift + o, n after top is invoked.
Fixed in upstream. I will build it later.
Fixed in ibus-1_2_0_20090915-1_fc12