Skip to content
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

Using mmap on index #47

Open
lzuwei opened this issue Aug 9, 2018 · 1 comment
Open

Using mmap on index #47

lzuwei opened this issue Aug 9, 2018 · 1 comment

Comments

@lzuwei
Copy link

lzuwei commented Aug 9, 2018

Is it possible to use a memory mapped file to store the index (eg: mmap) on a hnsw index, this is to reduce the memory usage size of a large index.

@yurymalkov
Copy link
Member

It is possible, but not yet implemented. The easiest way to do it is to memmap the saved file.
I would expect it to cause big performance losses even on fast SSDs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants