I've narrowed it down to the PrivateScreen::syncStacks () function in src/screen.cpp. There's a call to XQueryTree there and the "children" variable which XQueryTree returns does not look like it escapes the function, nor is it freed. I've attached a patch that fixes it for me (2 hours of uptime with compiz memory usage steady at 21 MB).
I'm no compiz developer nor am I an X11 hacker, so I'm not sure of this is the right fix. Could the compiz package maintainers please validate the fix as well as pull in the patch? ** Patch added: "Patch for the Compiz memory leak" https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/755863/+attachment/2013293/+files/compiz.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755863 Title: Compiz uses increasingly large amounts of memory -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
