Question
Question 7: How can you use Node.js's `process.memoryUsage` to assess memory consumption?
Asked by: USER7961
89 Viewed
89 Answers
Responsive Ad After Question
Answer (89)
The `process.memoryUsage` property provides information about total memory, used memory, free memory, and cached memory. It's useful for identifying memory leaks or excessive memory allocation.