jest-oom-temp To run Clone the repo. Run npm i. Run npm test. You should see the test output as well as the console logs reporting memory used before and after the test.