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

RAM usage: find a way to memory map the English lexicon #395

Open
joanise opened this issue Sep 10, 2024 · 0 comments
Open

RAM usage: find a way to memory map the English lexicon #395

joanise opened this issue Sep 10, 2024 · 0 comments

Comments

@joanise
Copy link
Collaborator

joanise commented Sep 10, 2024

g2p is used on the ReadAlong Studio back-end server, and causes a fairly high amount of RAM to get used.

This is more complex than replacing networkx algorithms: if we could find a way to memory map the English lexicon from disk, instead of loading in into RAM, that would let us realize a significant memory saving on the API server, for both the g2p backend and the RAS web-api back-end.

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

1 participant