The intention of this repository is to reproduce winston memory leak using daily rotate file.
- 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
Eventually, this message will appear:
The process will stop because of lack of memory.
You can trace allocation and memory heap in the memory
tab.