Re: [nodejs] memory leak prevention and detection

2014-04-30 Thread Reza Razavipour
WHAO! if this is not a complete answer, I do not know what is. Thank you so much. I am going to study your reference materials. Much appreciated. Regards, Reza On Wed, Apr 30, 2014 at 3:11 PM, Timothy J Fontaine wrote: > Finding memory leaks in a moderately complicated program written

Re: [nodejs] memory leak prevention and detection

2014-04-30 Thread Timothy J Fontaine
Finding memory leaks in a moderately complicated program written in a statically typed language is hard, change to a dynamic language, JIT'ed code, garbage collection, and closures -- and well, damn, it's hard. You're simply not going to be able to use a static analyzer pass on JavaScript to ident

[nodejs] memory leak prevention and detection

2014-04-30 Thread Reza Razavipour
I have no tool to help me detect memory leaks in my node server. I use WebStorm for my development. In other languages, like C++, I know what causes a leak and how to guard against them. I do not know what leaks memory. How do I got about putting such a list together for my programming disciplin