public static long estimateSize(Accountable object) {
    return object == null ? 0 : object.ramBytesAllocated();
  }
Estimates the size of an HPPC {@link Accountable} instance.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/MemoryEstimator.java