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?