I have a very simple upload form in an Express app.
The code that receive the form submit is like that:
app.post('/import', function(req, res) {
res.render('import-complete');
});
When I start the node server I have 60MB of memory used by the node process. After the form is submitted, the file is uploaded (250MB) and the memory usage increases and reach ~300MB. At the end of the upload, the memory usage remains ~300MB without "going down".
So, in the "app.post" there is no code that can cause the memory leak. what's happening?