Compiz leaks memory

Bug #881278 reported by Moritz Naumann
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

$ top

top - 09:29:02 up 3 days, 14:50, 2 users, load average: 0.03, 0.05, 0.11
Tasks: 197 total, 6 running, 190 sleeping, 0 stopped, 1 zombie
Cpu(s): 2.9%us, 0.3%sy, 0.1%ni, 96.2%id, 0.5%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 8192584k total, 5428828k used, 2763756k free, 537288k buffers
Swap: 0k total, 0k used, 0k free, 2862228k cached

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 2371 me 20 0 1152m 647m 29m R 8 8.1 323:46.32 compiz
 1650 me 20 0 192m 63m 10m R 2 0.8 121:24.37 Xorg
24534 me 20 0 145m 29m 4076 S 2 0.4 74:35.41 beam.smp
18407 me 20 0 348m 16m 11m R 1 0.2 0:00.31 gnome-terminal
 2315 me 20 0 28280 4188 868 S 1 0.1 36:54.54 dbus-daemon
 1183 root 20 0 0 0 0 S 0 0.0 4:36.89 rc0
 2442 me 20 0 279m 19m 10m R 0 0.2 0:31.62 unity-window-de
 2444 me 20 0 567m 40m 12m S 0 0.5 26:09.59 unity-panel-ser
 3278 root 20 0 0 0 0 S 0 0.0 0:13.09 kworker/0:1

I made a local 'pa auwx' dump at the same time, in case more information is required.

I'm using the following indicators:
/usr/lib/indicator-messages/indicator-messages-service
/usr/lib/indicator-session/indicator-session-service
/usr/lib/indicator-sound/indicator-sound-service
/usr/lib/indicator-application/indicator-application-service
/usr/lib/indicator-datetime/indicator-datetime-service

I also have system-monitor indicator which displays current CPU and RAM resource allocation on the gnome panel and updates in a 5 second interval.
indicator-datetime displays hours, minutes as well as seconds (I've read smoewhere this can cause trouble with DBUS).

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: compiz 1:0.9.6+bzr20110929-0ubuntu5
ProcVersionSignature: Ubuntu 3.0.0-13.21-generic 3.0.6
Uname: Linux 3.0.0-13-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,move,compiztoolbox,regex,place,mousepoll,snap,grid,animation,imgpng,workarounds,gnomecompat,vpswitch,resize,session,expo,wall,unitymtgrabhandles,fade,ezoom,scale,unityshell]
Date: Tue Oct 25 09:31:53 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: compiz
UpgradeStatus: Upgraded to oneiric on 2011-10-21 (4 days ago)

Revision history for this message
Moritz Naumann (mnaumann) wrote :
Revision history for this message
Marnanel Thurman (marnanel) wrote :

ps isn't a terribly informative source; could you profile it with valgrind? (If not, I probably could, but perhaps not till this weekend.)

Changed in compiz (Ubuntu):
status: New → Fix Committed
Revision history for this message
Moritz Naumann (mnaumann) wrote :

Thanks Thomas, can you provide me with instructions on how to profile?
I assume I'd want something along the lines of this?
valgrind --tool=memcheck -- compiz --replace
I tried it but it - logically - removed the link between unity and compiz, so I needed to also run unity --replace to get things going again.

tags: added: compiz-0.9
Revision history for this message
Daniel Nyström (speakman) wrote :

I'm also having massive memory leaks with compiz. If someone could put some instructions how to profile I'd be glad to help.

Revision history for this message
dino99 (9d9) wrote :

That version has reached EOL since a while, so it will not receive update. If that issue still exist, report again using ubuntu-bug.

Changed in compiz (Ubuntu):
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.