diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-10-04 08:36:18 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-10-04 08:36:18 +0000 |
commit | 1836e20ac7d46963c66ce9a62835668a52e94a57 (patch) | |
tree | 091ffa1cd13b8cb20c6633fe100322bc30667d34 | |
parent | 67a2ca78bac640ee9663128c80753681959c932f (diff) |
Use large allocator and control size of TmpChunkMeta.
-rw-r--r-- | searchlib/src/vespa/searchlib/docstore/filechunk.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/docstore/filechunk.cpp b/searchlib/src/vespa/searchlib/docstore/filechunk.cpp index 71dfed86fdb..1881be4a0bb 100644 --- a/searchlib/src/vespa/searchlib/docstore/filechunk.cpp +++ b/searchlib/src/vespa/searchlib/docstore/filechunk.cpp @@ -129,7 +129,8 @@ public: } }; -using TmpChunkMetaV = std::vector<TmpChunkMeta>; +using TmpChunkMetaV = std::vector<TmpChunkMeta, vespalib::allocator_large<TmpChunkMeta>>; +static_assert(sizeof(TmpChunkMeta) == 48); namespace { |