From c0d9881a621bd39be404fb0905fd11843d0ff4c9 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 16 Jan 2021 19:36:00 +0000 Subject: [PATCH] stats: add memoryUsageHeap value --- src/node/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node/server.js b/src/node/server.js index 3219f5185..3e3b25d21 100755 --- a/src/node/server.js +++ b/src/node/server.js @@ -58,6 +58,7 @@ exports.start = async () => { // start up stats counting system const stats = require('./stats'); stats.gauge('memoryUsage', () => process.memoryUsage().rss); + stats.gauge('memoryUsageHeap', () => process.memoryUsage().heapUsed); await util.promisify(npm.load)();