Chapter 2. Memory Management
This chapter investigates how memory is managed on iOS and Android with Xamarin runtime. Whilst drawing parallels to the .NET platform, it will provide examples of memory management problems and issues that can cause leaks, and also look at useful patterns that can help developers save valuable resources. This chapter is divided into the following sections:
Application Component lifecycle
Garbage collection
Platform-specific concepts
Troubleshooting and diagnosis
Patterns and best practices