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

optimise (search-index) memory usage #4

Open
blahah opened this issue Apr 22, 2016 · 2 comments
Open

optimise (search-index) memory usage #4

blahah opened this issue Apr 22, 2016 · 2 comments

Comments

@blahah
Copy link
Owner

blahah commented Apr 22, 2016

See fergiemcdowall/search-index#261 and fergiemcdowall/search-index-adder#2

Some of the issues are addressed by the NLP pipeline which greatly reduces redundancy in the index. However, memory usage is still high.

A test case using 10,000 publication metadata records:

npm install --global yuno
wget https://git.io/vw48e
wget https://git.io/vw48L
yuno create --opts eupmc_db_opts.json memory_test eupmc_lite_10k.json
@eklem
Copy link

eklem commented Jan 16, 2017

The new search-index streaming API does wonders here. Where I maxed out with 16 GB of memory before, I now manage with 1 GB of memory.

@blahah
Copy link
Owner Author

blahah commented Jan 16, 2017

yes! see #6 - this is why we sponsored the streaming interface in search-index :)

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