Sign in Go Pro

Detecting Android Memory Leaks with LeakCanary

Installing LeakCanary


Up next


LeakCanary is another library from the wonderful people at Square, which should be a regular fixture in any Android application. It’s billed as a “A memory leak detection library for Android and Java.” It attempts to follow any memory leaks within your application, and provide a leak trace to help you identify and eliminate leaks. In this lesson you will learn the answers to the following: * What is LeakCanary and what does it do? * Why was LeakCanary created? * How do I set up LeakCanary to watch Activities? Related Lessons: * [Detecting and Fixing a Leak]( * [Monitoring leaks in Fragments]( * [Why you need to use LeakCanary]( Additional resources: * [LeakCanary Github]( * [LeakCanary: Detect all memory leaks!](

Lessons in Detecting Android Memory Leaks with LeakCanary