pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: Ryanhya (@Ryanhya) <noreply+Ryanhya@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #843: Question about the memory allocation when building hnsw index
Date: Fri, 23 May 2025 08:45:53 +0000
Message-ID: <gh-pgvector-pgvector-843-c2903732620@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-843@github.com>
References: <gh-pgvector-pgvector-843@github.com>

@ankane Thanks! Actually I check  that `maintenance_work_mem` is set to 1GB when using 1 million vectors (the memory usage is about 1.5 GB), so it seems that the consumption could be a little bit greater than the value? Is there a threshold for the portion exceeding this value?

view thread (7+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-843-c2903732620@github.com>
Permalink:  ../gh-pgvector-pgvector-843-c2903732620@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox