pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] PR #867: Add Windows warning about maintenance_work_mem limitation
3+ messages / 2 participants
[nested] [flat]

* [pgvector/pgvector] PR #867: Add Windows warning about maintenance_work_mem limitation
@ 2025-07-02 20:57 "ysys143 (@ysys143)" <noreply+ysys143@github.com>
  0 siblings, 0 replies; 3+ messages in thread

From: ysys143 (@ysys143) @ 2025-07-02 20:57 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

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
^ permalink raw [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] PR #867: Add Windows warning about maintenance_work_mem limitation
@ 2025-09-26 03:52 ` "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2025-09-26 03:52 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @ysys143, thanks for the PR. Postgres 18 (released today) removes this limitation.

^ permalink  raw  [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] PR #867: Add Windows warning about maintenance_work_mem limitation
@ 2025-09-26 03:52 ` "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2025-09-26 03:52 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

@ankane closed this.

^ permalink  raw  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2025-09-26 03:52 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-07-02 20:57 [pgvector/pgvector] PR #867: Add Windows warning about maintenance_work_mem limitation "ysys143 (@ysys143)" <noreply+ysys143@github.com>
2025-09-26 03:52 ` "ankane (@ankane)" <noreply+ankane@github.com>
2025-09-26 03:52 ` "ankane (@ankane)" <noreply+ankane@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