Skip to content

Memory usage optimisation #586

Answered by generall
frutik asked this question in Q&A
May 12, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @frutik, it is possible to lower the memory usage if you don't need production-grade speed at the moment. It this case what you can do is disable HNSW indexing throw the configuration: https://github.com/qdrant/qdrant/blob/master/config/config.yaml#L48 (put large enough data, and index will never be created).

Unfortunately, memory consumption is one of the downsides of HNSW - it requires random access to stored vectors in order to make the search fast and accurate. At the same time - HNSW is the best candidate to combine it with payload filtering functionality, not many other index types are suitable for this, and Annoy is not one of them as well.

Additionally, the payload currently is…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@frutik
Comment options

Answer selected by frutik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants