miguel de icaza | 27 Aug 18:53
Picon
Gravatar

Re: DIVA report #9

Hello,

Hisham, can you weight in?

Well, it's calling the unmanaged *_destroy functions, so It should work. Also, if I disable all the drawing code (and leave only the Create/Dispose functions) it behaves as expected -- memory goes up and at some point GC kicks in and it gets freed.

I think we need to audit Mono.Cairo, if memory gets released during a GC it means that the release is happening not by calling IDisposable's method but its being called by the finalizers (which will run on a separate thread). 

So am not getting a very warm feeling about this.

Judging by the size of the leak, it seems that the whole areas of pixel memory are leaking.



Gmane