title: Node : RangeError: Maximum call stack size exceeded
body: <p>Node service select 700000 row of data from a table and inset to another table.</p>
  <pre class="lang-js prettyprint-override"><code>async function fetchData(lastSyncDate: string) {
      var result;
      if (!lastSyncDate)
          result = await executeOracleSelect(`select * from table1 order by lastupdated_dt`) as Array&lt;{ [key: string]: any }&gt;
      else {
          var query = `select * from table1 where lastupdated_dt&gt; to_date('${lastSyncDate}','DD-Mon-YYYY HH24:MI:SS') order by lastupdated_dt`;
          result = await executeOracleSelect(query) as Array&lt;{ [key: string]: any }&gt;
      }
      return result;
  } 
  </code></pre>
  <pre><code>(node:11752) UnhandledPromiseRejectionWarning: RangeError: Maximum call stack size exceeded
  </code></pre>