[Mono-dev] Re: [Gtk-sharp-list] Mono.Cairo Memory Leak

MDK mdk at mdk.org.pl
Fri Oct 7 03:06:21 EDT 2005

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:

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) 

Michael Dominic K.
michaldominik at gmail.com

More information about the Mono-devel-list mailing list