P-Y on Nostr: If you've ever wanted to run LeakCanary against an existing heap dump with some ...
If you've ever wanted to run LeakCanary against an existing heap dump with some custom configuration, or even just answer some questions about the heap, it's really simple using Kotlin script!
Here's an example that runs leak detection but also prints all the dex paths and counts the number of Dagger components and singletons in memory (just for fun!) : https://gist.github.com/pyricau/e51e75a334882fc8e52e66c72c41ba47
Here's an example that runs leak detection but also prints all the dex paths and counts the number of Dagger components and singletons in memory (just for fun!) : https://gist.github.com/pyricau/e51e75a334882fc8e52e66c72c41ba47