Reduced memory usage for HNSW index builds - #384

Co-authored-by: Heikki Linnakangas <heikki.linnakangas@iki.fi>
This commit is contained in:
Andrew Kane
2023-12-22 12:41:47 -05:00
parent f61d4087b5
commit dcbe0b6f0d
3 changed files with 18 additions and 22 deletions

View File

@@ -220,6 +220,7 @@ typedef struct HnswBuildState
Vector *normvec;
/* Memory */
MemoryContext graphCtx;
MemoryContext tmpCtx;
/* Parallel builds */