title: node process memory usage, resident set size constantly increasing
body: <p>Quted from <a href="https://stackoverflow.com/questions/12023359/what-do-the-return-values-of-node-js-process-memoryusage-stand-for">What do the return values of node.js process.memoryUsage() stand for?</a> RSS is the resident set size, the portion of the process's memory held in RAM
  (how much memory is held in the RAM by this process in Bytes) file size of 'text.txt' used in example is here is 370KB (378880 Bytes)</p>
  
  <pre><code>var http    = require('http');
  var fs      = require('fs');
  var express = require('express');
  var app     = express();
  
  console.log("On app bootstrap = ", process.memoryUsage());
  
  app.get('/test', function(req, res) {
  
      fs.readFile(__dirname + '/text.txt', function(err, file) {
          console.log("When File is available = ", process.memoryUsage());
          res.end(file);
  
      });
  
      setTimeout(function() {
          console.log("After sending = ", process.memoryUsage());
      }, 5000);
  
  });
  
  app.listen(8081);
  </code></pre>
  
  <p>So on app bootstrap: <code>{ rss: 22069248, heapTotal: 15551232, heapUsed: 9169152 }</code>
  After i made 10 request for '/test' situation is: </p>
  
  <pre><code>When File is available =  { rss: 33087488, heapTotal: 18635008, heapUsed: 6553552 }
  After sending          =  { rss: 33447936, heapTotal: 18635008, heapUsed: 6566856 }
  </code></pre>
  
  <p>So from app boostrap to <strong>10nth</strong> request rss is increased for 11378688 bytes which is roughly <strong>30</strong> times larger than size of <code>text.txt</code> file.</p>
  
  <p>I know that this code will buffers up the entire data.txt file into memory for every request before writing the result back to clients, but i expected that after the requst is finished occupied memory for 'text.txt' will be released? <strong>But that is not the case?</strong></p>
  
  <p>Second how to set up maximum size of RAM memory which node process can consume?</p>