Hi, I have been noticing this leak for a few weeks now. I typically update to the latest snapshot every 10-14 days and Xorg memory usage grows monotonically in the meantime. I was gathering some data for a report, but thanks to this thread it's explained now. I look forward to testing the fix. I also have the iris driver.
> 35MB of memory is too large to expose amap leakage, since most of the amaps > are associated with single pages. The X server does some very large > allocations, > and thus SIZE will not show these very well. > > To see the problem, It is better to look at "UVM amap" in "vmstat -m" > > UVM amap 32835 1690K 2636K 78644K 26812908 0 > 16,32,64,128,256,512,1024,4096,8192 > > ^^^^ this number is way too big, it should be 500 to 2000 ish. Thanks for this comment! Now I know what to look for. On my system running for 3 days it is already over 32,000. Regards, Anindya