pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: VladlenPopolitov (@VladlenPopolitov) <noreply+VladlenPopolitov@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #667: Please add a note to README warning of limitations on Windows
Date: Wed, 11 Sep 2024 16:16:34 +0000
Message-ID: <gh-pgvector-pgvector-667-c2344103731@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-667@github.com>
References: <gh-pgvector-pgvector-667@github.com>

Hi @schuemie .
This link ['poorly documented'](https://postgrespro.com/list/thread-id/2609309) had misinterpreted information and it  was not answered. maintenance_work_mem variable really has limits from 1024 to 2097151, but these values are in KB.
It has less range in Postgres in all 32-bit OS-es, not only Windows (range from 1024 to 2097151/1024). 32-bit Windows application can address up to 4Gb, splitted by 2GB allocated to system usage, and 2 GB allocated to application. In any case application cannot get more than 2Gb.
64bit Windows works the same way as other 64 bit OS-es, and PostgreSQL source code does not have any 2GB limit for Windows in this case.
Author of above link misunderstood the meaning of values, and everyone politely kept silence and did not pointed to his mistake.
PostgreSQL allows to allocate all application memory for maintenance_work_mem, but not more, than 2048Gb.

view thread (16+ messages)  latest in thread

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