Are there some tools for detecting memory leaks in nodejs? And tell me about your experience in testing nodejs applications.
One good thing is https://github.com/bnoordhuis/node-heapdump very simple and you can view results in Chrome (because of same V8 engine in browser javascript and nodejs) and compare object sizes in memory at every moment you want.
And one more tip how to detect memory leak "manualy" or help to prevent it, is force garbage collector in some places of your code and see what happens.
Start your application with "node --expose-gc file.js" and anywhere in code you can use function gc(); to call garbage collection.