//leakcanary/leakcanary/LeakCanary/dumpHeap
dumpHeap¶
fun dumpHeap()
Immediately triggers a heap dump and analysis, if there is at least one retained instance tracked by AppWatcher.objectWatcher. If there are no retained instances then the heap will not be dumped and a notification will be shown instead.