Find answers from the community

Updated last year

Memory

So, I took the Postgres repo, dumped all of the source code and documentation files into an index.
It came out to +1.5GB, and my WSL2 box goes OOM sometimes when trying to read from it 😬
Plain Text
]$ ls -lh ./index
total 1.7G
-rw-r--r-- 1 user user 121M Jul  2 19:06 docstore.json
-rw-r--r-- 1 user user   18 Jul  2 19:09 graph_store.json
-rw-r--r-- 1 user user 3.8M Jul  2 19:06 index_store.json
-rw-r--r-- 1 user user 1.6G Jul  2 19:09 vector_store.json

How much memory should a machine have for trying to call load_index_from_storage() on this?
L
C
5 comments
How much do you have? πŸ˜…
I have 16GB but some of it is prolly used by other stuff
It seems to rarely go out of OOM so mebbe it's no so big a deal
Yea sounds like you might just be nearly pushing the limits lol

I guess just close everything before loading the index locally lol
Maybe also consider a hosted solution, like weaviate or pinecone πŸ˜…
Add a reply
Sign up and join the conversation on Discord