voyager
voyager copied to clipboard
yarn test high memory usage
Please:
- [X ] Check for duplicate issues
- [X] 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?
- [X ] Provide an example spec in JSON and, if applicable, screenshots or GIF videos (e.g., using https://www.cockos.com/licecap/)
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