4 ms·
We adopted LeakCanary the day it was released but we don't find it useful at all. In fact, it makes the app almost unusable for us. Every 2-3 mins, it would jus
by parth16 11y ago
We adopted LeakCanary the day it was released but we don't find it useful at all. In fact, it makes the app almost unusable for us. Every 2-3 mins, it would just freeze the app to capture a heap dump. As our app is quite complicated with a big memory footprint, this just aggravates the problem. I just hope it was more usable.
- herbig 11y agoI've found LeakCanary incredibly useful at rooting out context related leaks you probably wouldn't otherwise think of. If you look under "no-op dependency" you'll find a solution to the issue you're describing. I've found it useful to have a leak canary specific build flavor or type, which only I ever see. For all other debug / production build leak canary is not initialized.