-
Notifications
You must be signed in to change notification settings - Fork 25
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
Memory Leak #40
Comments
|
Hi @ChrisSmith, thanks for your input. I will investigate that and get back to you, cheers! |
Hi @ChrisSmith, I took some time to investigate that today and in my machine (2018 Macbook i7 with 16GB RAM) it doesn't leak memory as we would expect, but had a peak of around 5GB but soon released it and had an average usage of 2GB. This on 7 threads as I didn't find a way to control the number of threads from within We also have just updated the library. Now it's currently on version Please also note that I will need more info from you, if it still happens. Thanks! |
I can also confirm the memory leak. |
When running the benchmarks locally, the process gradually consumes all memory on my machine until it runs out of memory (~28GB)
Commenting out
simdjson.lazyParse
in the benchmark removes leak behavior, so I don't think its the test setup. Printing the node heap statistics shows that it is stable ~80 mb, so the leak is likely in the c++ code.The text was updated successfully, but these errors were encountered: