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

[CI] Circle CI with Jest Memory Not Enough #26

Closed
whatwewant opened this issue Feb 17, 2019 · 5 comments
Closed

[CI] Circle CI with Jest Memory Not Enough #26

whatwewant opened this issue Feb 17, 2019 · 5 comments
Labels
bug Something isn't working config

Comments

@whatwewant
Copy link
Member

  • question

      1. see the circle ci panel, found error Too long with no output (exceeded 10m0s), but no any more message. circle link
      1. so i Rerun job with SSH, then get into circle ci ssh server
      1. after get into ssh server, run npm run test, but found error
        about jest modules, so run yarn to install lack modules; then run
        npm run test again, found error ENOMEM: not enough memory, read
      1. search from google, found answer in disscuss Not enough memory while testing a Node.js appplication
      1. read all messages from the discuss, one man enapupe say he fix
        jest memory issues with running single thread -w 1. thanks.
  • solution:

    • jest memory issues, limit thread with jest -w 1
@whatwewant
Copy link
Member Author

  • Circle CI Pabel showing
    image

@whatwewant
Copy link
Member Author

  • ssh circle ci server, run npm run test showing
    image

@whatwewant
Copy link
Member Author

fix with this discuess Not enough memory while testing a Node.js appplication

@whatwewant
Copy link
Member Author

whatwewant commented Feb 17, 2019

fix in #dd9ebd8

@balovbohdan
Copy link

Similar issue: jestjs/jest#8769 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working config
Projects
None yet
Development

No branches or pull requests

2 participants