/winston-leaks

Primary LanguageJavaScriptMIT LicenseMIT

Winston-leak

Summary

The intention of this repository is to reproduce winston memory leak using daily rotate file.

Steps

  • clone this repository
  • run npm install
  • run npm start
  • in chrome, open chrome://inspect/#devices and inspect NodeJS process
  • in the profiler window, the memory will start going up

profiler

Eventually, this message will appear:

memory crash

The process will stop because of lack of memory.

You can trace allocation and memory heap in the memory tab.