pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ankane (@ankane) <noreply+ankane@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 06:56:29 +0000
Message-ID: <gh-pgvector-pgvector-843-c2903459045@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-843@github.com>
References: <gh-pgvector-pgvector-843@github.com>

Hi @Ryanhya, the index build itself shouldn't use more than `maintenance_work_mem` (you'll also see memory usage from shared buffers, connections, etc.), so it's likely another issue with your setup. I'd check that `shared_buffers` and [other settings](https://github.com/pgvector/pgvector?tab=readme-ov-file#tuning) are correctly set.

view thread (7+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-843-c2903459045@github.com>
Permalink:  ../gh-pgvector-pgvector-843-c2903459045@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