diff --git a/libraries/metrics/memory.coffee b/libraries/metrics/memory.coffee index 1700e6ad3d..a1e157a5bf 100644 --- a/libraries/metrics/memory.coffee +++ b/libraries/metrics/memory.coffee @@ -72,6 +72,8 @@ module.exports = MemoryMonitor = Metrics.gauge("memory.gc-interval", gcInterval) #Metrics.gauge("memory.cpu-time-bucket", CpuTimeBucket) + logger.log mem, "process.memoryUsage()" + if global.gc? && readyToGc() gcTime = (executeAndTime global.gc).toFixed(2) memAfterGc = inMegaBytes process.memoryUsage()