Re: [nodejs] Re: process out of memory error with 0-wait setTimeout

2013-08-26 Thread ming
Just because you've exited the function doesn't mean that the underlying Agent or Socket objects can be garbage collected. Agreed. Yes, that's a more precise description. Thanks. especially if you're not doing anytyhing ... For the someBadURI in foo1 in my very first post of this topic,

[nodejs] Re: process out of memory error with 0-wait setTimeout

2013-08-22 Thread ming
Thank you for your input, Forrest. You're never ending / destroying / disposing any of the responses, so they're just piling up inside the callback closures. In foo1, there is a return statement immediately after the asynchronous setTimeout(foo1,0); so i would assume the responses are

Re: [nodejs] Re: process out of memory error with 0-wait setTimeout

2013-08-22 Thread Forrest L Norvell
On Thu, Aug 22, 2013 at 9:37 PM, ming hseum...@gmail.com wrote: Thank you for your input, Forrest. You're never ending / destroying / disposing any of the responses, so they're just piling up inside the callback closures. In foo1, there is a return statement immediately after the