pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ysys143 (@ysys143) <noreply+ysys143@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] PR #867: Add Windows warning about maintenance_work_mem limitation
Date: Wed, 02 Jul 2025 20:57:53 +0000
Message-ID: <gh-pgvector-pgvector-867@github.com> (raw)

As requested in issue #667, this adds a note warning Windows users about the 2GB limitation on maintenance_work_mem which can severely impact index build times for large vector stores.

The warning is placed prominently at the beginning of the Windows installation section to ensure users are aware before attempting to build large indices.

inline patch 1: README.md (+2/-0 lines) download inline-1.patchdiff --git a/README.md b/README.md index 43c0430d2..828b14a74 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,8 @@ You can also install it with [Docker](#docker), [Homebrew](#homebrew), [PGXN](#p ### Windows +> **Note:** On Windows, `maintenance_work_mem` is currently limited to 2,024MB at most (up to and including PostgreSQL 16). It might therefore take a prohibitively long time to build indices for large vector stores. + Ensure [C++ support in Visual Studio](https://learn.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-170#download-and-...) is installed and run `x64 Native Tools Command Prompt for VS [version]` as administrator. Then use `nmake` to build: ```cmd

view thread (3+ messages)  latest in thread

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