[nodejs] read streams leak memory?

2013-06-25 Thread alessioalex
Hello there, I'm monitoring my app and I've seen my memory usage increase really oddly (it did not decrease after X hours), so I suspected a leak. I've found out that the memory seems to remain uncollected when using fs.readStream. I made a small example with an http server that serving a 2mb f

Re: [nodejs] read streams leak memory?

2013-07-02 Thread Oleg Slobodskoi
Thanks for the try, but it didn't helped. We have found a temporary hotfix, however the real issue seems to be a bug in the incremental gc itself. Here is a full documentation of the issue https://github.com/LearnBoost/mongoose/issues/1565 Oleg Slobodskoi twitter.com/oleg008 github.com/ko