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

load 5.5mb dictionary consume 1GB memory? #152

Open
Benedixx opened this issue Apr 23, 2024 · 0 comments
Open

load 5.5mb dictionary consume 1GB memory? #152

Benedixx opened this issue Apr 23, 2024 · 0 comments

Comments

@Benedixx
Copy link

Hello there, I have corpus dictionary with 5.5 MB filesize as .txt file, when i monitor my code memory usage using debug mode, the memory usage spiked up to 1+GB memory. You can see the graph here :

image

Is there any way to optimize this? i already tried to load dictionary as compressed pickle or pickle but i think the dictionary is not loaded because it's not detecting any typo on my text.

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