Memory Leak

node --expose-gc ./node_modules/jest/bin/jest.js --runInBand --logHeapUsage packages/main/src/modules/auth/admin/mutations/__tests__
node --inspect-brk --expose-gc ./node_modules/.bin/jest --runInBand --logHeapUsage packages/main/src/modules/auth/admin/mutations/__tests__

Memory leak when you allocated some memory and didn’t dispose it.

Shares tags with
  • Node Modulesnode modules is where node keeps all their dependencies one good thing of node modules is that you can easily modify an external package code inside node modules and test your fix…
  • Package Sizemodules npm package sizes matters if you reduce your project dependencies your node modules will be small and it will be fast to run yarn install and also to cache and restore…
  • Saving a project on fireHave you ever been in a project that was on A project is on 🔥when it passed the deadline. When the developer team are put on a "war room" to make sure there is no distractions to…
  • Single Bin JavaScriptnode modules is too big and usually it has many things that you don’t need to use It has Readme.md It has examples It has tests and other unrelated code It would be could to…
  • Testing Concept FrontendYou first need to undestand the concept of frontend tests. You should not test the implementation but the behavior You test like the end user For instance, imagine a login screen…

Sign in with GitHub to reply.

Select any passage to quote it.

Comments