public ProgressLoggers addInMemoryObject(String name, MemoryEstimator.HasEstimate object) {
    loggers.add(new ProgressLogger(name, () -> format.storage(object.estimateMemoryUsageBytes(), true)));
    return this;
  }
Adds the current estimated size of an in-memory object to the output.
planetiler-core/src/main/java/com/onthegomap/planetiler/stats/ProgressLoggers.java