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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jest hangs when a worker runs out of memory #8068

Closed
rubennorte opened this issue Mar 6, 2019 · 1 comment 路 Fixed by #8079
Closed

Jest hangs when a worker runs out of memory #8068

rubennorte opened this issue Mar 6, 2019 · 1 comment 路 Fixed by #8079

Comments

@rubennorte
Copy link
Contributor

馃悰 Bug Report

We have a bunch of tests that load a big amount of data. When that data exceeds the maximum heap size configured in Node, the worker fails and Jest hangs.

I'm pretty sure we'd have the same behaviour with any other fatal error in the worker.

(I'll look into this after. I just wanted to have an issue I could link 馃槄).

To Reproduce

Steps to reproduce the behavior:

Make a worker fail by creating a test that reserves memory indefinitely and see how Jest hangs.

Expected behavior

Jest should make that test fail and continue with the rest, eventually finishing.

@github-actions
Copy link

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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant