This seems to fix the memory leak but surely there's a better way??? It feels very awkward.
View[] list = new View[container.ChildCount]; for (int i = 0; i < list.Length; i++) { list[i] = container.GetChildAt(i); } container.RemoveAllViews(); for (int i = 0; i < list.Length; i++) { ((Java.Lang.Object)list[i]).Dispose(); } -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/How-to-handle-garbage-collection-memory-leak-tp5711079p5711080.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid