Comment 8 for bug 760161

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 760161] Re: Very high memory usage

On Thu, Apr 14, 2011 at 07:21:41AM -0000, Didier Roche wrote:
> We are aware that in some case, compiz --replace doesn't kill the older
> compiz process (there is no evidence when this happen unfortunately).

Is there a bug open for that issue?

> We are looking for memory leak in unity, but if you see some in compiz
> itself as well, we should have a look there. Did you notice any particular
> action triggering this memory leak?

No particular action, no. After reporting this bug, I watched a DVD last
night, and then suspended my laptop (after stopping the film).

After resuming this morning, I see:

mdz 24782 1.2 8.0 578848 245560 pts/0 Sl Apr13 9:09 compiz --replace

and the memory usage is creeping up quickly without any explicit WM action from
me:

perseus:[~] while sleep 1; do date; ps u 24782; done
Thu Apr 14 09:19:42 BST 2011
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mdz 24782 1.2 8.0 579732 246400 pts/0 Sl Apr13 9:11 compiz --replac
Thu Apr 14 09:19:43 BST 2011
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mdz 24782 1.2 8.0 579876 246440 pts/0 Sl Apr13 9:11 compiz --replac
Thu Apr 14 09:19:44 BST 2011
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mdz 24782 1.2 8.0 579796 246456 pts/0 Sl Apr13 9:11 compiz --replac
Thu Apr 14 09:19:45 BST 2011
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mdz 24782 1.2 8.0 579780 246476 pts/0 Sl Apr13 9:11 compiz --replac
Thu Apr 14 09:19:46 BST 2011
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mdz 24782 1.2 8.0 579888 246488 pts/0 Sl Apr13 9:11 compiz --replac
Thu Apr 14 09:19:47 BST 2011
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mdz 24782 1.2 8.0 579888 246488 pts/0 Sl Apr13 9:11 compiz --replac
Thu Apr 14 09:19:48 BST 2011
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mdz 24782 1.2 8.0 579888 246500 pts/0 Sl Apr13 9:11 compiz --replac

--
 - mdz