Compiz memory leak / Xorg memory leak
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fglrx-installer (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I have had a system crash/halt due to my Xorg consuming up ALL of my memory. Here's a thread I posted over on the forums: http://
Basically what happens is that whenever I maximize/restore a window, memory in Xorg shoots up 25MB. Regardless of how many times I restore/maximize, it keeps allocating new memory and it never frees it up. Xorg also allocates memory for programs when they open up and never frees that memory when they close. After I re-open that same application, it allocates even more memory. This is repeated each time the application is loaded. Even when opening a Nautilus window, about 4MB is re-allocated every single time. I have to restart the system or X after I have used my system for a day or so.
This seems to also happen when you "shade" a window. Each time new memory is allocated when you "shade" it and it is never freed up.
The problem appears to only occur when compiz/effects are enabled. Unlike a previous reported bug, compiz.real does not seem to be the culprit this time. The Xorg process just continuously allocates memory for no reason. I posted a screenshot over on the forums displaying the issue. It seems to be compiz related since I cannot reproduce the bug when effects are disabled.
Here's a detailed list of my setup:
Jaunty 9.04
Xorg 1.6
Compiz 0.8.2
Emerald 0.7.2
ATI HD 4850 w/ ATI proprietary driver 9.4 - already a host of bugs for this, too
Feel free to tell me what else you need.
~ Evan
affects: | xorg (Ubuntu) → fglrx-installer (Ubuntu) |
I can confirm this bug. The problem emerged since I updated to 9.04. I also have an ATI HD 4850, Compiz enabled. After some hours Xorg uses several GBs of memory. It takes noticably longer compared to 8.04 to maximize/minimize windows (it seems to hang for 2 seconds, then the window appears). Xorg is using almost 100% of one core (I have 4).