Skip to content
🤔 Documentation issue? Report it

//leakcanary/leakcanary/HeapDumper/dumpHeap

dumpHeap

abstract fun dumpHeap(heapDumpFile: File)

Dumps the heap. The implementation is expected to be blocking until the heap is dumped or heap dumping failed.

Implementations can throw a runtime exception if heap dumping failed.