fuzzy_ruby_server
fuzzy_ruby_server copied to clipboard
High memory usage
I've tried using this in a relatively big project (GitLab). But Memory consumption is very high
@tachyons Hello! Very cool project, thanks for giving it a try.
By default the index is kept purely in-memory, but you can change the change the allocationType
config to tempdir
. This will mmap the index which should dramatically lower real memory size at the cost of some disk usage.
I found indexing and lookup performance still very good with an mmap index so I'm hoping that can solve the issue for you.
@pheen Is there a way to volumize the mmap directory, as I'm using a dev container-based setup in VScode, each time on opening the VScode in the container the Fuzzy Ruby Server utilizes more memory usage, though I have the mmap config.
Can you please share the path that can be volumized for container setup?
Not sure sorry