Find answers from the community

Updated last year

Currently using PGVectorStore to store

At a glance

The community member is using PGVectorStore to store vectors and is experiencing memory issues when running queries multiple times. They are getting a "DefaultCPUAllocator: not enough memory" error, and the memory usage keeps increasing until the process is killed. The community members suggest that the issue may not be related to PGVectorStore itself, and one community member mentions having seen similar memory problems when running local models.

Currently using PGVectorStore to store the vectors. When I try to make and run a query several times (like 10 times), I am getting "DefaultCPUAllocator: not enough memory" error. I am seeing memory usage going up as I make each query and the process gets killed once it reaches memory usage of 100. Guess it is using in-memory somewhere else. Any suggestions would be appreciated. Thanks in advance.
W
L
E
4 comments
Can you share your code?

This should not be the case though, as they do all the operation directly with PG db
We've used pg vector store in production grade apps, and never had this problem either.

I think maybe it's related to something else tbh
I'm seeing my memory usage going up as I make query and it is stacking up and the memory is being held unless i restart the app. PGVectorStore was what I thought the issue was, but guess it's not.. πŸ˜„
I've seen memory problems when running local models πŸ€”
Add a reply
Sign up and join the conversation on Discord