-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 in jest-circus #7274
Comments
👀 |
I've determined this is caused by I have a fix locally and will create a PR to |
Here's a PR for graceful-fs: This PR fixes the issue in my repro repo at HOWEVER, in my work repo that I can't share here, the |
That's awesome. I just feel this is never gonna be merged, based on the state of the repository. Also @palmerj3 seems to have some issues there as well: https://mobile.twitter.com/palmerj3/status/1055782284983496704 Maybe there's a maintained for of the project? |
@thymikee - my fixes for the memory leak were merged and published! @SimenB I upgraded |
I'd still like to track that part. Or is it fixed? If not, could you test the stack change I linked to? |
Very non-scientific. We have 5800 tests and I don't have time right now to do a full run several times over, so this is just the first 15 tests - which are not necessarily the same 15 tests. Filenames have been removed because I don't know if I can share them. Jest
|
The subset is fine 🙂 #6965 just landed for jasmine, not circus, I was wondering if you could eager evaluate all stacks and see if it helped |
hi @SimenB - I'm not sure what you mean by |
See the description in #6965. But essentially, every place we do |
For what it's worth, I've updated jest-circus-memory-leak-repo for https://github.com/dylang/jest-circus-memory-leak-repo |
This seems to be fixed, thank you! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
When using
jest-circus
, an obvious memory leak and gradual slowdown occurs.To Reproduce
100 identical tests with
jest-circus/runner
.jest.config
:Expected behavior
Same 100 tests without
jest-circus/runner
.Link to repl or repo (highly encouraged)
https://github.com/dylang/jest-circus-memory-leak-repo
Run
npx envinfo --preset jest
The text was updated successfully, but these errors were encountered: