Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'm trying to track down a memory leak in a Node.js app. I've tried installing v8-profiler but it will not compile... it looks like a dead project that a lot of people are trying to use but getting the same problem - pretty-much from about node 0.3.2 so quite a while ago.

Does anyone know of a way to hunt down memory leaks in a Node.js app without using v8-profiler? I have Eclipse running with the V8 remote debugging working but cannot find a way to see memory usage / heaps etc.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
436 views
Welcome To Ask or Share your Answers For Others

1 Answer

Have you looked at https://github.com/felixge/node-memory-leak-tutorial? The author includes a link in the Readme to a more recent (Apr 11) fork of v8-profiler.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...