Found my memory leak.

It came from Sqlite Cursors not being closed. I discovered that when using
Sqlite Cursors you should always use the following construct:

ICursor C = SomeFunction();
using( C )
{
       try
       {
             ...
             ...
             Do Something with the Cursor
             ...
             ...
       }
       finally
      {
             C.Close();
      }
}

Regards
Terry.






--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Memory-leak-tp5710935p5710986.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

Reply via email to