presto-geospatial/src/main/java/io/prestosql/plugin/geospatial/SpatialPartitioningStateFactory.java/SingleSpatialPartitioningState/getEstimatedSize
class SingleSpatialPartitioningState:        @Override
        public long getEstimatedSize()
        {
            return INSTANCE_SIZE + (envelope != null ? envelope.estimateMemorySize() * (1 + samples.size()) : 0);
        }