← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 410248] [NEW] X consumes ever-increasing memory

 

Public bug reported:

Binary package hint: xserver-xorg-video-intel

Over a period of a few days, my desktop runs out of memory.  "top"
sorted by memory usage shows xorg as the biggest, and growing, consumer
of memory is xorg.

Memory usage increases when we switch users, "sudo cat
/proc/<pid>/status | grep VmPeak" grows by 50MB each switch-plus-switch-
back.

Opening windows seems to increase usage too.  The more complex the
application (firefox vs gnome-terminal), the more memory consumed.

When no new windows are created, memory consumption seems stable.

This only seems to affect the first X session.  Starting more
applications on the second user doesn't seem to affect memory
consumption.

As far as I can tell, this is independent of the use of desktop effects.

Logging off reclaims memory.  Killing applications does not reclaim
memory.

Lastly, I notice that using "sudo pmap -d `pgrep X`" shows more (and increasing) lines like:
    00007f034b77c000       4 rw-s- 0000000000000000 000:00009 drm mm object (deleted)

The increase in the number of these lines (thousands) correlates to an
increase in memory usage.  My guess is that this is the source of memory
leaks

Drivers and software are all from the standard repos ('cept medibuntu).
I did try the latest stable intel video driver from PPA, but it broke
badly.

Description:	Ubuntu 9.04
Release:	9.04

xserver-xorg-video-intel:
  Installed: 2:2.6.3-0ubuntu9.3
  Candidate: 2:2.6.3-0ubuntu9.3
  Version table:
 *** 2:2.6.3-0ubuntu9.3 0
        500 http://ubuntu.ubucache jaunty-updates/main Packages
        100 /var/lib/dpkg/status
     2:2.6.3-0ubuntu9 0
        500 http://ubuntu.ubucache jaunty/main Packages

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: xserver-xorg-video-intel 2:2.6.3-0ubuntu9.3
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
ProcVersion: Linux version 2.6.28-14-generic (buildd@yellow) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #47-Ubuntu SMP Sat Jul 25 01:19:55 UTC 2009
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.28-14-generic x86_64

** Affects: xserver-xorg-video-intel (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
X consumes ever-increasing memory
https://bugs.launchpad.net/bugs/410248
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.



Follow ups

References