title: NodeJS : What happen if not close oracle connection
body: <p>I'm building a NodeJS Application that will connect to an oracle Database.</p>
  
  <p>I'm wondering what happen if I don't close connection and I call the <code>fiftycent()</code> function many times ?</p>
  
  <pre><code>var i=50;
  function fiftycent() {
  var oracledb = require('oracledb');
  
   oracledb.getConnection(
    {
      user          : "hr",
      password      : "welcome",
      connectString : "localhost/XE"
    },
    function(err, connection)
    {
      if (err) {
        console.error(err.message);
        return;
      }
      connection.execute(
        "SELECT department_id, department_name "
      + "FROM departments "
      + "WHERE department_id = :did",
        [180],
        function(err, result)
        {
          if (err) {
            console.error(err.message);
            return;
          }
          console.log(result.rows);
        });
    });
   i=i-1;
   if (i&gt;0) fiftycent();
  }
  </code></pre>
  
  <p>After the node server is being running during days, will it cause memory failure or something like that ?</p>
  
  <p>Please note that part of this example is taken from <a href="https://github.com/oracle/node-oracledb" rel="nofollow">https://github.com/oracle/node-oracledb</a> and they don't include </p>
  
  <pre><code>connection.release( function(err){
   if (err) console.error(err.message);
  });
  </code></pre>
  
  <p>in their code.</p>
  
  <p>Thanks in advance for your answers.</p>