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 when using mathjs in jest tests #1592
Comments
Thanks for reporting Olivier. At first sight I have no clue what could cause this. Since |
Can this be reproduced without using Jest? |
Could Jest run each js file in a separate process (or something)? If so then it would make sense for memory usage to increase. |
Thanks for your replies. I think it has to do with running things in parallel and things not getting cleaned up after tests have run. I opened an issue at jest repo as well to figure that out. |
Yeah something like that makes sense. It could be that there is no actual problem though and that the garbage collector simply didn't trigger yet. |
Is there still an issue here four years later, or can this be closed? |
Let's assume it is resolved and close this issue. Please reopen if needed. |
I noticed unexpected behaviour when using mathjs in Jest.
I created 16 test files that just import mathjs.
When running the tests the memory heap piles up.
The text was updated successfully, but these errors were encountered: