Merge branch 'master' into hnsw-streaming

This commit is contained in:
Andrew Kane
2024-09-21 12:16:40 -07:00
3 changed files with 44 additions and 56 deletions

View File

@@ -188,14 +188,14 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir)
so->first = false;
#if defined(HNSW_MEMORY)
elog(INFO, "memory: %zu MB", MemoryContextMemAllocated(so->tmpCtx, false) / (1024 * 1024));
elog(INFO, "memory: %zu KB", MemoryContextMemAllocated(so->tmpCtx, false) / 1024);
#endif
}
for (;;)
{
char *base = NULL;
HnswCandidate *hc;
HnswSearchCandidate *hc;
HnswElement element;
ItemPointer heaptid;