title: How often small GC is triggered in node js?
body: <p>I have been using <a href="https://github.com/RuntimeTools/appmetrics" rel="nofollow noreferrer">appmetrics</a> to monitor GC in node js app. I am seeing small GC event every couple of seconds. Is it normal? Also, I have set the memory to 2 GB but the logs show that only around 80-90 MB of heap is used. </p>
  
  <p>Sample log from app metrics:</p>
  
  <pre><code>{"time":1523390469898,"type":"S","size":81068032,"used":44745080,"duration":3}
  
  {"time":1523390678028,"type":"M","size":88408064,"used":35710552,"duration":2}
  </code></pre>