This is a big question ... and it is not easy to answer the general case.
In general, if you write nice simple ViewModels and beautiful simple views, then you won't get memory leaks.
, , ViewModels, , , , - , - .
- ObjC # . http://forums.xamarin.com/discussion/97/correct-way-to-pop-a-dialogviewcontroller-mine-are-staying-in-memory, , - SQL- - https://github.com/slodge/MvvmCross/issues/19
, Rolf answer - http://forums.xamarin.com/discussion/comment/535/#Comment_535 - - , !
, ...
, 1 2, 3. "", , , .
, Mono - , - .
, , , , , http://docs.xamarin.com/ios/Guides/Deployment%252c_Testing%252c_and_Metrics/Monotouch_Profiler
, , , 3 , , , .
:
- ... - .
- "" , , .
- 'willappear', 'willdisappear', , / .
- , #. Messenger, TinyMessenger ( MvvmCross -) - ,
WeakReference, . - "-" " " - "-" " " -
, . , MvvmCross -MonoTouch, MvvmCross IoC .
MvvmCross, , , - !
MvvmCross - , , WeakReferences - . https://github.com/slodge/MvvmCross/issues/17 - - ... . .
:
..,
.
, , , - , . , Dispose() . , ()