steveszc / ember-cli-memory-leak-detector

Automatic memory leak detection for ember apps
https://www.npmjs.com/package/ember-cli-memory-leak-detector
MIT License
38 stars 5 forks source link

who detects memory leaks in the memory leak detector? #33

Open steveszc opened 3 years ago

steveszc commented 3 years ago

How ironic... 😭

I've noticed while attempting to fix memory leaks with ember test --server after many many test runs the node process will eventually run out of memory and crash. We must be hanging on to the parsed heap snapshots after every test run. The node process is dying with the following error: v8::internal::V8::FatalProcessOutOfMemory

runspired commented 2 years ago

chrome does not delete snapshots on reload, so either this would need to remove them or someone has to manually clear them