//leakcanary-repo/leakcanary/LeakCanary/Config/maxStoredHeapDumps
maxStoredHeapDumps¶
[androidJvm]\ val maxStoredHeapDumps: Int = 7
How many heap dumps are kept on the Android device for this app package. When this threshold is reached LeakCanary deletes the older heap dumps. As several heap dumps may be enqueued you should avoid going down to 1 or 2.
Defaults to 7.