對於Express服務器來說,檢查V8中整個堆不會隨着時間的推移增長的最佳方式是什麼?在V8中檢查堆的最佳方法
來源
2015-06-03 Alexander Mills
process.memoryUsage()返回一個包含堆使用的內存總量(heapTotal)和使用的內存量(heapUsed)的對象。
process.memoryUsage()
heapTotal
heapUsed
2015-06-03 03:08:52 mscdex