https://bugzilla.novell.com/show_bug.cgi?id=672503

https://bugzilla.novell.com/show_bug.cgi?id=672503#c2


Mike Kestner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Mike Kestner <[email protected]> 2011-03-04 15:48:52 UTC 
---
We did make some additional improvements recently to our repo regarding GC, but
with those and the addition to your sample of the following in
GraphView.Dispose():

mCanvas.Dispose ();
mCanvas = null;

The OutOfMemory exception does not occur testing out to over 100 flips.

Expensive java resources like bitmaps will need to be Disposed since they
create almost no memory pressure on the mono side while exerting big pressure
on dalvik.  You likely you want to actively dispose them anyway to avoid memory
bloat.  The lack of the Canvas dispose call was resulting in the bitmap
remaining alive, since your sample refs it from the canvas.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to