Heap Dump Storage Strategy
Types
Deletes heap dumps as soon as we're done traversing them. This is the most disk space efficient strategy.
No deletion of heap dump files. This is useful if you intend to open up the heap dumps directly or re run the analysis no matter the outcome.
Keeps the heap dumps until we're done diffing, then delete them only if there are no growing objects. This is useful if you intend to open up the heap dumps directly or re run the analysis on failure.
Keeps the heap dumps until we're done diffing, then on completion creates a zip for each heap dump if there are growing object, and delete all the source heap dumps. This is useful if you intend to upload the heap dumps on failure in CI and you want to keep disk space, network usage and cloud storage low. Zipped heap dumps are typically 4x smaller so this is worth it, although the trade off is that zipping can add a few seconds per heap dump to the runtime duration of a test.