-- assert that dictionary in memory takes more than 20MB, that way for each
-- shard we will have 10MB, that way we ensure that the allocations will be
-- definitely correct for the memory tracker to hit the MEMORY_LIMIT_EXCEEDED
-- error.
SELECT throwIf(bytes_allocated < 20e6, 'Memory constraints does not matched for layout {{layout}}') FROM system.dictionaries WHERE database = currentDatabase() AND name = 'dict' FORMAT Null;