Answers for "how to understand if nodejs is out of memory"

0

how to understand if nodejs is out of memory

const used = process.memoryUsage().heapUsed / 1024 / 1024;
console.log(`The script uses approximately ${Math.round(used * 100) / 100} MB`);
Posted by: Guest on May-17-2021

Code answers related to "how to understand if nodejs is out of memory"

Code answers related to "Javascript"

Browse Popular Code Answers by Language