27 Aug 18:53
Re: DIVA report #9
miguel de icaza <miguel.de.icaza <at> gmail.com>
2005-08-27 16:53:54 GMT
2005-08-27 16:53:54 GMT
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.
--
Michał Dominik K.
michaldominik <at> gmail.com
www.mdk.org.pl
RSS Feed