//leakcanary-repo/leakcanary/HeapDumper/dumpHeap
dumpHeap¶
[jvm]\ 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.