I’m confronted to a really weird problem.
I just create a whole new projet, I use express generator to generate my app squeleton.
I use Node v 10.15, NPM 6.4.1, Express-generator 4.16.1 and view Engine EJS.
I didn’t do huge changements, some default things like adding a console.log on server listening and add some usefull basics package like dotenv.
I didn’t create new routes or controller and I don’t configured an ORM or a DB connection.
But when I’m launching Apache Benchmark on this minimal express server, I’ve memory leak detected after ~400K requests.
I use node-memleak to detect it and here is the results :
Sooo what’s the problem ? Why I have a memory leak on a minimal server where there is no modifications ?