SpiderStrategies / node-tweet-stream

Node twitter module to hook into the public filter streaming, seamlessly updating the tracking keywords.
210 stars 43 forks source link

Leaking memory #16

Open nathanbowser opened 9 years ago

rosswaycaster commented 9 years ago

I am having this problem too. Any ideas for a fix?

arjanfrans commented 7 years ago

Do you have any indication in which part it is leaking memory?

I am also seeing a lot of memory usage.

tracycollins commented 7 years ago

I think I'm seeing a memory leak, too. I'm a novice, so I'm having trouble pinpointing the exact cause. I do know that when I bypass this module in my testing, I don't have a memory leak problem.

I'm guessing it's somewhere in the code that handles receiving tweets because if the rate of incoming tweets is high (~3000 tweets/min), the memory leak seems to happen more.

Not sure if this is related, or whether this error is caused by a dependent package, but I'm also now getting a warning about event listeners when I track search terms:

"(node:27390) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit"

bityob commented 7 years ago

@nathanbowser Something new? because I'm still having this problem (started yesterday to use the package)

fourpixels commented 7 years ago

Okay, sorry to spam, but I'm looking for a library to use, and this keeps bugging me.. It's been years :) Any ideas or just drop it?