Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/leakcanary/LeakCanary/Config/dumpHeap

dumpHeap

[androidJvm]\ val dumpHeap: Boolean = true

Whether LeakCanary should dump the heap when enough retained instances are found. This needs to be true for LeakCanary to work, but sometimes you may want to temporarily disable LeakCanary (e.g. for a product demo).

Defaults to true.