Skip to content

Commit

Permalink
fix: clean vector memory (#33692) (#33708)
Browse files Browse the repository at this point in the history
pr: #33692

Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
  • Loading branch information
zhagnlu and luzhang committed Jun 7, 2024
1 parent 93348af commit 729001c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/core/src/mmap/Column.h
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ class VariableColumn : public ColumnBase {

// Not need indices_ after
indices_.clear();
std::vector<uint64_t>().swap(indices_);
}

protected:
Expand Down

0 comments on commit 729001c

Please sign in to comment.