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

yarn test high memory usage #834

Open
1 task done
Stephen-McDaniel opened this issue Feb 8, 2019 · 0 comments
Open
1 task done

yarn test high memory usage #834

Stephen-McDaniel opened this issue Feb 8, 2019 · 0 comments

Comments

@Stephen-McDaniel
Copy link

Stephen-McDaniel commented Feb 8, 2019

Please:

  • [X ] Check for duplicate issues
  • Describe how to reproduce the bug / the goal of the new feature request
    Debian Stretch
    From 2.0.0-alpha.24
    yarn test used 2 GB of memory to run, specifically at

NODE_ENV=test node scripts/jest-ui.js

Is this expected? Seems very high for a test, maybe I just need a larger server to run all tests?

Run:
NODE_ENV=test node scripts/jest-ui.js

After 30-60 seconds, over 2 GB of memory is in use by the test.

Error thrown:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

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