diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-03-15 18:38:08 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-03-15 18:38:08 +0000 |
commit | 7d0bb0a2714daf2dc8b74fcf13af2e9baa576404 (patch) | |
tree | 18bb3fddabf43ee9a2f7de5b85ffb7691c3fa06b /searchcore | |
parent | 649e8045dabbb032cce54b6bd5586e9cf0cf3cf3 (diff) |
Add missing call to aggregate size of hold list
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp index 209207ce5db..7b7d590d913 100644 --- a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp +++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp @@ -36,7 +36,7 @@ vespalib::MemoryUsage LidAllocator::getMemoryUsage() const { vespalib::MemoryUsage usage; size_t allocated = sizeof(*this) + _freeLids.byteSize() + _usedLids.byteSize() + - _pendingHoldLids.byteSize() + _activeLids.byteSize(); + _pendingHoldLids.byteSize() + _activeLids.byteSize() + _holdLids.size(); usage.incAllocatedBytes(allocated); usage.incUsedBytes(allocated); return usage; |