Delivered-To: lablgtk at yquem.inria.fr Date: Wed, 09 Jan 2008 21:52:09 +0900 (JST) Message-Id: <20080109.215209.2004159811.garrigue at math.nagoya-u.ac.jp> To: jon at ffconsultancy.com Subject: Re: [Lablgtk] Leaking pixmaps From: Jacques GARRIGUE In-Reply-To: <200801091053.51621.jon at ffconsultancy.com> References: <200801091053.51621.jon at ffconsultancy.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: lablgtk at yquem.inria.fr Content-Type: Text/Plain; charset=us-ascii Content-Length: 755 From: Jon Harrop > Has anyone found a bug where using pixmaps causes a memory leak resulting in X > consuming all memory and dying? > > I just ditched pixmaps in favour of direct rendering which fixed the problem > and the symptom deterred me from investigating... This is not a bug, but the normal behaviour since pixmap are on the server side, and it would be complicated to manage them properly. This is the reason there is a Gdk.Pixmap.destroy function, so that you can destroy pixmaps early when you don't need them anymore. examples/timer.ml shows how to use it. Jacques _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk