gnome-session leaks huge amounts of memory on Dapper
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-session (Ubuntu) |
Invalid
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gnome-session
There is a memory leak in gnome-session that is causing it to slowly fill all available memory. My machine has now been up for 50 days and ps shows 523MB:
jm 5249 0.0 4.8 536232 49752 ? Ss Jan24 1:30 x-session-manager
Using pmap, I see:
% pmap 5249
5249: x-session-manager
08048000 112K r-x-- /usr/bin/
08064000 4K rw--- /usr/bin/
08065000 3128K rw--- [ anon ]
96973000 465888K rw--- [ anon ]
b3703000 33760K rw--- [ anon ]
b58e9000 9112K r---- /usr/share/
... [the rest looks normal]
The offending like is obviously "96973000 465888K rw--- [ anon ]", which unfortunately isn't very useful (except maybe to exclude some dso).
The leak grows at a slow, steady pace (or so it seems) over time, until I kill the X session or shutdown the machine. Even if I close all applications (e.g. firefox, gnome-terminal, ...), the memory use doesn't go down.
Machine info:
Dell D810 laptop
Pentium-M 2.13 GHz, 1 GB RAM
1 GB swap
Dapper 6.10 with up-to-date patches
Gnome environment
Thank you for your bug. That's probably a duplicate from bug #66188