Skip to content

Commit

Permalink
reduce mem
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 committed Oct 26, 2024
1 parent 0fc917e commit 6b44365
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ydb/core/tx/columnshard/engines/portions/constructor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,11 @@ TPortionInfo TPortionInfoConstructor::Build(const bool needChunksNormalization)
}

result.Indexes = std::move(Indexes);
result.Indexes.shrink_to_fit();
result.Records = std::move(Records);
result.Records.shrink_to_fit();
result.BlobIds = std::move(BlobIds);
result.BlobIds.shrink_to_fit();
result.Precalculate();
return result;
}
Expand Down

0 comments on commit 6b44365

Please sign in to comment.