-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory allocation failure at CREATE EXTENSION. #602
Comments
@pashkinelfe It'd be good to understand how this happens, since Postgres allocates an extra 100K bytes for small allocations. We could request the shared memory up front when the extension is part of |
@pashkinelfe, could we get the full config when the error happens? Probably it's related to the combination of multiple extensions. |
@akorotkov
"Show all" contents: |
Can't reproduce this yet. Could you also share exact PostgreSQL and pgvector versions? |
PG 15.1 + pgvector 0.6.0 |
Hi!
I found the following error at trying create extension on one of the customers machine:
not enough shared memory for data structure "hnsw LWLock ids" (4 bytes requested)
called from the code block
It's a rare error that I met only once. Could we not rely that the 'slop' has enough free space to do allocation? As I think PG user has little power to check or free this memory.
The text was updated successfully, but these errors were encountered: