Hey everyone! I just landed the patches to add LeakCanary[1] to local gradle(!) builds (bug 1238066 [2]). LeakCanary is a memory leak detection library for Android and Java. By default it detects Activity leaks and it will show a notification whenever it detects something: https://bug1241460.bmoattachments.org/attachment.cgi?id=8710392
If we want to use it to detect other leaks then we'll need to expose the RefWatcher instance and use it like described here: https://github.com/square/leakcanary#how-do-i-use-it More? Droidcon NYC 2015 - Detect all memory leaks with LeakCanary! https://www.youtube.com/watch?v=mU1VcKx8Wzw Sebastian [1] https://github.com/square/leakcanary [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1238066
_______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

