Xorg memory leakage?

Peter Harris pharris at opentext.com
Tue Feb 3 10:33:00 PST 2009

Stefano Avallone wrote:
> Hi all,
> I'm using xorg packages from experimental (xserver, libdrm 2.4.3, 
> mesa 7.3-rc3, video-intel 2.6.1) and kde 4.2 (from experimental as well).
> I am using UXA+DRI2 and kwin with composite effects enabled.
> I am able to suspend and resume without problems.
> However, I noticed that the memory usage of Xorg slowly increases. After a 
> couple of days of usage (with suspend and resume), top shows that the memory 
> usage of Xorg is around 30% (I have 2GB RAM). At some point, the laptop 
> becomes very slow, kwin automatically disables effects and I need to restart 
> the server.
> Any advice how I could better debug this issue and provide useful information? 

Start with xrestop. It will give you a good idea of which apps are
really responsible for the memory usage of Xorg.

If xrestop comes up empty, then we can take a closer look at the X
server itself.

Peter Harris
               Open Text Connectivity Solutions Group
Peter Harris                    http://www.opentext.com/connectivity
Research and Development        Phone: +1 905 762 6001
pharris at opentext.com            Toll Free: 1 877 359 4866

More information about the xorg mailing list