When I run node with the command node ./bin/www
, task manager looks like this after 10 seconds (note that I made a setInterval returning process.memoryUsage() every 5 seconds):
Task Manager Screenshot 1
But, when I run node using nodemon with the command nodemon ./bin/www
, task manager looks like this:
Task Manager Screenshot 2
- Question: why nodemon is using that much memory and cpu?