leakcanary icon indicating copy to clipboard operation
leakcanary copied to clipboard

Support needed to implement Plumber Library

Open arunsudharsan opened this issue 1 year ago • 3 comments

I have the leak canary integrated into my app. Is that enough for Plumber to kick in and solve Android Leak Fixes automatically? I can see the PlumberInitializer in the merged manifest in my app/build/. Please advice thanks!

arunsudharsan avatar Sep 13 '24 18:09 arunsudharsan

Yes, it's enough for it to run automatically, in your debug builds anyway.

pyricau avatar Sep 17 '24 23:09 pyricau

@pyricau - Is it advised to run these fixes in release builds? Has any app done this before? Can you please share any data around this? Thanks.

arunsudharsan avatar Oct 15 '24 18:10 arunsudharsan

Do you have any info if the plumber leak fixes are suitable to be used in prod?

We've been getting some OOM errors from https://github.com/square/leakcanary/blob/22bef70ba5abdba5f65935c1a37227d01be598d3/plumber/plumber-android-core/src/main/java/leakcanary/AndroidLeakFixes.kt#L786 and I'm not sure if this is a net benefit or not.

jatsek avatar Oct 08 '25 13:10 jatsek