You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to create an HNSW index using the following command:
CREATE INDEX ON com_ebay_items USING hnsw (title_vec vector_l2_ops);
I have citus installed alongside pg_vector (create extension if not exists vector)
Here is the error message I'm getting:
ERROR: could not resize shared memory segment "/PostgreSQL.1153325950" to 1048576 bytes: No space left on device
CONTEXT: while executing command on citus_worker.2.p2lw3ox7d6907doqtzz3crk12:5432
The text was updated successfully, but these errors were encountered:
To speed-up the index build, hnsw tries to allocate maintenance_work_mem (seems set to 1G in your setup) amount of memory from shared memory if it decides that it can use multiple processes to build the index, so the error is actually caused by hnsw not Citus.
(Also note that for serial index builds, this is not the case because then hnsw won't try allocating memory from shared-memory but from the same backend's memory pool.)
This especially becomes a problem when your database is setup on a docker container.
Hi I've successfully managed to increase shm_size to 8g using docker's daemon.json but this error comes back with a larger number instead of 1048576 bytes.
I'm unable to create an HNSW index using the following command:
I have citus installed alongside pg_vector (
create extension if not exists vector
)Here is the error message I'm getting:
The text was updated successfully, but these errors were encountered: