Detecting memory leaks in nodejs

In tracking down a memory leak I tried the above node-inspector.
As of April 2012 it was not updated to work with the contemporary node release v0.6.12 As such I found: https://github.com/c4milo/node-webkit-agent.
It was able to show heap snapshots for the newer V8 engine which wasn't supported by node-inspector. In short order I was able to detect the leaking module (in may case loggly), I hope you have similar success!


The following tool should be useful for spotting memory leaks:

node-inspector

And there's also a tutorial to help you find memory leaks here:

https://github.com/felixge/node-memory-leak-tutorial

Tags:

Node.Js