From 8ffb3718a491dd6d3402b2def639102e05cddeed Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 22 Jan 2024 23:31:55 -0800 Subject: [PATCH] Leave more space for other shared memory --- src/hnswbuild.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hnswbuild.c b/src/hnswbuild.c index ef08d5d..9199d0e 100644 --- a/src/hnswbuild.c +++ b/src/hnswbuild.c @@ -978,7 +978,7 @@ HnswBeginParallel(HnswBuildState * buildstate, bool isconcurrent, int request) /* Docker has a default limit of 64 MB for shm_size */ /* which happens to be the default value of maintenance_work_mem */ esthnswarea = maintenance_work_mem * 1024L; - estother = 2 * 1024 * 1024; + estother = 3 * 1024 * 1024; if (esthnswarea > estother) esthnswarea -= estother;