I meet the problem too. When I use gtk program under KDE, it consumes the memory and doesn't release after I closed it. The package gtk2 -engines-gtk-qt seem to be the effector. When I remove gtk2-engines-gtk- qt from my system, the memory consuming disappeared.
My input method is a gtk program, every time I use it to input Chinese words, the memory is consumed. But after I remove gtk2-engines-gtk-qt, memory doesn't be consumed again. -- GTK applications leading Xorg to huge memory usage https://launchpad.net/bugs/51421 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs