title: Memory consumption of node.js process increases constantly
body: <p>I made a simple web server using express:</p>
  
  <pre><code>var express    = require('express');
  var app        = express();
  
  var route = express.Router();
  route.get('/foo', function(req, res) {
      console.log(req.url);
      res.json(200, {'status':'OK'});
  });
  
  app.use('/api', route);
  app.use(express.static(__dirname));
  
  app.listen(8080);
  </code></pre>
  
  <p>I have a client running which does every second a GET request to the server.</p>
  
  <p>If I look at the node process it started with 16 MB size.
  After 14 hours it's already at 50 MB size and is still slowly increasing.</p>
  
  <p>I started the node process with: </p>
  
  <pre><code>node server.js --max-old-space-size 1
  </code></pre>
  
  <p>I use node 0.10.29 and express 4.5.1.</p>
  
  <p>The webserver should run 24x7 on a Raspi and I'm afraid, that after some weeks I get Out Of Memory.</p>