public void put(K key, T value) {
      rocksDB.put(
          columnFamily,
          keySerializer.serializeResource(key),
          valueSerializer.serializeResource(value));
    }
Approximate memory footprint of the in-memory map.
amoro-format-iceberg/src/main/java/org/apache/amoro/utils/map/SimpleSpillableMap.java