Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Running jest with --logHeapUsage is not logging the heap usage.
Tried on CircleCI, and on local and on colleagues computer. All don't log the heap usage.
Trying to run on a huge codebase with a few thousand tests and the CI keeps running out of memory. Trying to narrow down which file may the the issue with logging the heap.
If the current behavior is a bug, please provide the steps to reproduce and either a repl.it demo through https://repl.it/languages/jest or a minimal repository on GitHub that we can yarn install and yarn test.
Example simplified repo:
https://github.com/eddiemoore/jest-test
Tried with these commands:
node --expose-gc ./node_modules/jest-cli/bin/jest.js --runInBand --logHeapUsage
node --expose-gc ./node_modules/jest-cli/bin/jest.js --no-cache --runInBand --logHeapUsage
node --expose-gc ./node_modules/.bin/jest --runInBand --logHeapUsage
All of which aren't logging the heap.
What is the expected behavior?
Expecting jest to output the heap usage.
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
Jest config file: https://github.com/eddiemoore/jest-test/blob/master/jest.config.js
Jest: 20.0.4
node: 6.10.3
npm: 3.10.10
yarn: 0.27.5
OS: Mac OSX 10.12.6
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Running jest with
--logHeapUsageis not logging the heap usage.Tried on CircleCI, and on local and on colleagues computer. All don't log the heap usage.
Trying to run on a huge codebase with a few thousand tests and the CI keeps running out of memory. Trying to narrow down which file may the the issue with logging the heap.
If the current behavior is a bug, please provide the steps to reproduce and either a repl.it demo through https://repl.it/languages/jest or a minimal repository on GitHub that we can
yarn installandyarn test.Example simplified repo:
https://github.com/eddiemoore/jest-test
Tried with these commands:
node --expose-gc ./node_modules/jest-cli/bin/jest.js --runInBand --logHeapUsagenode --expose-gc ./node_modules/jest-cli/bin/jest.js --no-cache --runInBand --logHeapUsagenode --expose-gc ./node_modules/.bin/jest --runInBand --logHeapUsageAll of which aren't logging the heap.
What is the expected behavior?
Expecting jest to output the heap usage.
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
Jest config file: https://github.com/eddiemoore/jest-test/blob/master/jest.config.js
Jest: 20.0.4
node: 6.10.3
npm: 3.10.10
yarn: 0.27.5
OS: Mac OSX 10.12.6