```sql
CREATE TABLE t
(
   id Int64, 
   d String,
   p Map(String, String)
   
)
ENGINE = ReplacingMergeTree order by id settings index_granularity  = 0;


insert into t values (1,  's', {'a':'b'});

CH starts eating RAM until it crashes

the same with

insert into t select 1,  's', map('a','b');

```

try
            {
                
                size_of_part = data_part_storage->calculateTotalSizeOnDisk();
            }
            catch (...)
            {
                tryLogCurrentException(log, fmt::format("while calculating part size {} on path {}", part->name, part_path));
            }
            std::string part_size_str = "failed to calculate size";
            if (size_of_part.has_value())
                part_size_str = formatReadableSizeWithBinarySuffix(*size_of_part);
            LOG_ERROR(log,
                "Detaching broken part {}{} (size: {}). "
                "If it happened after update, it is likely because of backward incompatibility. "
                "You need to resolve this manually",
                getFullPathOnDisk(part_disk_ptr), part_name, part_size_str);
            std::lock_guard loading_lock(mutex);
            broken_parts_to_detach.push_back(part);
            ++suspicious_broken_parts;
            if (size_of_part.has_value())
                suspicious_broken_parts_bytes += *size_of_part;
            return;
        }
        if (!part->index_granularity_info.mark_type.adaptive)
            has_non_adaptive_parts.store(true, std::memory_order_relaxed);
        else
            has_adaptive_parts.store(true, std::memory_order_relaxed);
        
        if (part->hasLightweightDelete())