Memory Leak Patterns in Android

What is a memory leak?

Marking live objects from GC roots [2]
Memory leak [2]

Why is memory leak bad?

Android drawing window [3]
Losing Frame due to frequent GC [3]
Android Not Responding (ANR) [1]

How to identify a leak?

Screenshot for Leak Canary

What are the common leak patterns?

What is the impact of a particular leak?

How to fix/avoid it?

Summary

Reference

Solutions Architect, Software Engineer. Helping companies to achieve their desired business outcome. Opinions are my own.