MemoryMetrics.garbage_metrics
MemoryMetrics.peak_post_gc_heap_size
Size of the peak JVM heap size in bytes post GC. Note that this reports 0 if there was no major GC during the build.
MemoryMetrics.peak_post_gc_tenured_space_heap_size
Size of the peak tenured space JVM heap size event in bytes post GC. Note that this reports 0 if there was no major GC during the build.
MemoryMetrics.used_heap_size_post_build
Size of the JVM heap post build in bytes. This is only collected if —memory_profile is set, since it forces a full GC.

