aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-10-04 08:36:18 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-10-04 08:36:18 +0000
commit1836e20ac7d46963c66ce9a62835668a52e94a57 (patch)
tree091ffa1cd13b8cb20c6633fe100322bc30667d34
parent67a2ca78bac640ee9663128c80753681959c932f (diff)
Use large allocator and control size of TmpChunkMeta.
-rw-r--r--searchlib/src/vespa/searchlib/docstore/filechunk.cpp3
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 {