unity-panel-service memory leak
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Unity |
Invalid
|
High
|
Unassigned | ||
| unity (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Bug Description
There are a couple of similar bugs, this one is about the network indicator (nm-applet). Opening and closing repeatedly will increase the memory consumption by
TEST CASE:
1. Run while true; do ps aux | grep unity-panel-service | grep -v grep; sleep 1; done
2. Monitor the sixth column
3. Open and close the network indicator
4. Go to 3.
→ memory consumption should rise pretty fast.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity 4.8.2-0ubuntu4
ProcVersionSign
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
CompizPlugins: [core,bailer,
Date: Sun Aug 21 00:17:16 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110112)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
- Dependencies.txt Edit (5.9 KiB, text/plain; charset="utf-8")
- GconfCompiz.txt Edit (48.2 KiB, text/plain; charset="utf-8")
- unity-panel-service.valgrind Edit (2.4 MiB, text/plain)
Valgrind log of opening and closing the network indicator a couple of times (total runtime 5 minutes).
==22345== LEAK SUMMARY:
==22345== definitely lost: 24,729 bytes in 639 blocks
==22345== indirectly lost: 179,398 bytes in 3,705 blocks
==22345== possibly lost: 21,661 bytes in 368 blocks
==22345== still reachable: 18,664,408 bytes in 391,092 blocks
Confirmed following the test case.
Easily reproduce able. nm-applet might also be related in the cause of the problem.
Also scrubbing though the menubar also causes memory leak to a great deal
I use the panel all day at work. After 7 days uptime, unity-panel-service is using 2 GB of memory. Ubuntu 11.10 64 bit, Unity 2D.
Running 12.04 with repos updated multiple times daily - my unity-panel-service is at 652 MiB . Please let me know if there is anything you need for debug.
unity-panel-service was up to 3 GB when I killed it today on my work machine. I've been running Linux Mint on personal machines these days because of the extreme nature of this memory leak.
- Screenshot of the memory leak Edit (162.0 KiB, image/png)
I just browsed a bit of net with Firefox and then the machine was idle most of the time. When i returned unity-panel-service takes 6.4 GB of result set and 11.9 GB of virtual memory. This all consumes my 8 Gb of RAM and 8 Gb of swap space.
I have 64-bit Ubuntu 11.10 with latest updates. This problem has occured at least 3 times in the past month.
uname -a
Linux 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 17:23:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
I don't seem to be able to reproduce the bug with the test case in the description in precise. Hernando is that still an issue for you?
Sorry for the late answer → no, I cannot reproduce the leak anymore. nm-applet seems to be busy producing bug 930491. ;-)