I recently attended the Memory management best practice class which i thought was really good and introduced a few important topics including a topic which i thought was the most important one, memory leaks.
After attending this class I wanted to check out if my app had any memory leaks, which it unfortunately had.
I have been building my iOS app following the same architecture as the Xamarins shirt-store app which i downloaded from your webpage.
I spent about 2hours with the profiler trying to resolve my memory leaks before i thought about testing the shirt store app itself.
From what I could make out this app had alot of memory leaks aswell and after clicking around in it for about 5 minutes it occupied 500mb of my iOS simulators memory and had over a hundred references to different custom created objects that never got cleaned up.
I kinda of assumed that the projects(specially the bigger one's) from your webpage and github repo were all created using best practise for building apps with Xamarin.
This has left me with quite a few questions such as; How do you guys deal with memory leaks? Do you manually call dispose everywhere? How do you troubleshoot it? Is overriding dispose and adding a console.writeline a good approach to make sure your objects are being garbage collected?