Bug 784890 (the reference leaks in g_variant_get_child in particular) is what is causing the large leak I described in comment 12. The tricky part is that there are two different threads involved, so it was hard to track down the cause.
I patched all of these issues locally for purposes of testing, so that valgrind no longer reports any "definitely lost" errors, but I still see increasing memory use in nm-applet. The memory growth is on the order of 1MB per day under normal use, and I still see memory use increase by about 200KB when I disable then re-enable the wireless radio. I can think of three possible reasons for this: 1. There are memory leaks in reachable memory. Improperly cleaned-up circular references could cause this. 2. Internal data structures such as hash tables grow in size over time. 3. Glibc isn't returning free memory back to the OS, perhaps due to memory fragmentation. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/780602 Title: nm-applet leaks memory and stops functioning after a while -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs