Improved memory tracking for HNSW index builds - #384

This commit is contained in:
Andrew Kane
2023-12-22 13:35:43 -05:00
parent 50d1aed3d8
commit e8c3bf0cef
2 changed files with 36 additions and 11 deletions

View File

@@ -215,7 +215,8 @@ typedef struct HnswBuildState
HnswElement entryPoint;
double ml;
int maxLevel;
long memoryLeft;
long memoryUsed;
long memoryTotal;
bool flushed;
Vector *normvec;