[Gtk-sharp-list] Mono.Cairo Memory Leak

Gonzalo Paniagua Javier gonzalo at ximian.com
Fri Oct 7 10:51:06 EDT 2005


On Fri, 2005-10-07 at 09:06 +0200, MDK wrote:
> On Wed, Oct 05, 2005 at 09:50:08PM -0500, Manuel Alejandro Cerón Estrada wrote:
> 
> > Hello,
> > 
> > I'm writing an interactive canvas for the MonoUML Case Tool. I'm using
> > Cairo with Gtk# and I have experimented an ascending memory
> > consumption when drawings are continuously performed, for example
> > inside a MotionNotifyEvent Handler. This memory is never released and
> > eventually SWAP memory is needed making all too slow.
> 
> Yes, this is a known issue (leak). It's being tracked here:
> 
>      http://bugzilla.ximian.com/show_bug.cgi?id=76230
>      
> For now you can pinvoke directly into gdk_cairo_create in gdk (check 
> http://www.mono-project.com/Drawing , this will work only with gdk >= 2.8) 

I have a fix for this issue (and others related) and I think I'm meeting
super-Mike today and will commit when he approves.

-Gonzalo




More information about the Gtk-sharp-list mailing list