[sugar] composite memory usage [was Re: frame auto-visibility configuration]
Erik Garrison
erik at laptop.org
Wed Sep 24 15:31:09 EDT 2008
On Thu, Sep 25, 2008 at 12:43:02AM +0530, Sayamindu Dasgupta wrote:
>
> FWIW, sometime back, I did some benchmarks with a composite enabled
> Metacity - results at
> http://www.mail-archive.com/sugar@lists.laptop.org/msg03613.html
> Jim had suggested some memory saving tricks at
> http://www.mail-archive.com/sugar@lists.laptop.org/msg03647.html
Thanks.
I'm going to try out Jim's suggestion:
On Thu, 05 Jun 2008 08:38:59 -0700, Jim Gettys wrote:
> For composition to not eat memory (a full frame buffer's
> worth/activity), the buried windows need to be "unmapped" in X parlance.
> When a window is unmapped, X can free the contents of the window even
> when composite is running (IIRC).
We have gtk.Window.unmap() to play with.
The difficult question is how to signal the activities to unmap
themselves. I suppose we could follow the pattern currently used to
trigger auto-saves.
Erik
More information about the Sugar
mailing list