Xorg memory usage/leak
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
For some reason, with nvidia-current (270.41.06) installed, Xorg uses around 600M of ram when just started, with an idle desktop.
No effects or anything enabled.
Also, it seems to leak memory as after some use, its memory use goes up to around 1G, at which point the system gets horribly slow. Still later, when the entire 2G of ram and 6G of swap are used up, the system crashes.
I.e., not really usable.
Now, when i manually install the 270.41.19 driver, this reduces memory use somewhat, with an idle desktop just after starting its down to 80M. But after some time and use (firefox etc open) this easily climbs back to 500M but doesnt seem to leak anymore.
Kubuntu 11.04, 2.6.38-8, x64, 7600GT
I believe I'm also sufferring from this bug. I'm using Ubuntu 11.04, kernel 2.6.38-9 on x86_64. My graphics card is an integrated Nvidia GeForce 6150. leHandler. I can attach the heap dumps or the pprof output if anyone is interested.
I used google-perftools to do a heap profile, and found out that about 99% of the memory in Xorg's heap was allocated by the function nvidiaAddDrawab