← Back to team overview

desktop-packages team mailing list archive

[Bug 827818] Re: Runaway memory usage in gtk-window-decorator

 

My gtk-window-decorator regularly climbs to 500 MB and I end up swapping
a lot with other programs running. Alt-Tab between windows increases the
use. Basically, I get around 1 MB added to the total memory used by gtk-
window-decorator for each time I Alt-Tab between windows (as observed by
System Monitor's). No end in sight in terms of chomping more (leaking
more?) memory.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/827818

Title:
  Runaway memory usage in gtk-window-decorator

Status in Unity:
  Fix Released
Status in compiz package in Ubuntu:
  Invalid
Status in unity package in Ubuntu:
  Fix Released

Bug description:
  I've just been in a situation where gtk-window-decorator has consumed almost all of my memory via i915 gem objects:
  └─(16:33:%)── sudo cat /sys/kernel/debug/dri/0/i915_gem_objects                                                                                                                                                          ──(Wed,Aug17)─┘
  5420 objects, 7376883712 bytes
  211 [197] objects, 216399872 [152293376] bytes in gtt
    3 [2] active objects, 10493952 [8192] bytes
    8 [8] pinned objects, 20107264 [20107264] bytes
    200 [187] inactive objects, 185798656 [132177920] bytes
    0 [0] freed objects, 0 [0] bytes
  8 pinned mappable objects, 20107264 bytes
  43 fault mappable objects, 15736832 bytes
  2147479552 [268435456] gtt total

  Killing compiz dropped that object total by ~1GB; killing gtk-window-
  decorator dropped it back down to ~300MB.

  Perhaps gtk-window-decorator or compiz is leaking textures?

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: unity 4.8.0-0ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
  Uname: Linux 3.0.0-8-generic x86_64
  Architecture: amd64
  CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,resize,fade,unitymtgrabhandles,scale,session,unityshell]
  CompositorRunning: compiz
  Date: Wed Aug 17 16:46:26 2011
  DistUpgraded: Log time: 2011-08-09 07:42:59.079778
  DistroCodename: oneiric
  DistroVariant: ubuntu
  EcryptfsInUse: Yes
  GraphicsCard:
   Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
     Subsystem: Dell Device [1028:0493]
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110730)
  MachineType: Dell Inc. Latitude E6420
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_AU.UTF-8
   SHELL=/bin/zsh
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-8-generic root=UUID=944f10ac-f387-4ced-be3c-66f2cea7c4d9 ro quiet splash vt.handoff=7
  SourcePackage: unity
  UpgradeStatus: Upgraded to oneiric on 2011-08-16 (0 days ago)
  dmi.bios.date: 01/20/2011
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: X48
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrX48:bd01/20/2011:svnDellInc.:pnLatitudeE6420:pvr01:rvnDellInc.:rn:rvr:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude E6420
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz 1:0.9.5.0-0ubuntu5
  version.ia32-libs: ia32-libs 20090808ubuntu13
  version.libdrm2: libdrm2 2.4.26-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental 7.11-0ubuntu3
  version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
  version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu6
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/827818/+subscriptions