Debugging memory leaks nodejs

I'm trying to debug memory leaks in my production server. I'm looking for node profilers but all the solutions I find require the v8-profiler ( https://github.com/dannycoates/v8-profiler ) which doesn't seem to work with the latest versions of node (linkage error: https://github.com/dannycoates/v8-profiler/issues/20 ).

Can you recommend other solutions? (I realize that this is a duplicate of Detecting memory leaks in nodejs but the solutions suggested there are not updated as well...)


Try Nodetime. It shows heap from the point of view of retainers, ie properties, array elements, etc. More info in this post Detecting Memory Leaks in Node.js Applications . To install nodetime see instructions, which is basically installing and requiring the nodetime package.

链接地址: http://www.djcxy.com/p/52632.html

上一篇: nodeJs上的一种内存泄漏?

下一篇: 调试内存泄漏nodejs