Now I am using node.js in paas platform. And the container has memory limit. Now I want to get the maximum of the heap size of node.js application. I know that use the parameter
you can use the process.memoryUsage https://nodejs.org/api/process.html#process_process_memoryusage
process.memoryUsage