Floby / node-libspotify

Node bindings for the libspotify C library
projects.flo.by/node-libspotify/
103 stars 66 forks source link

Memory leak when playing #49

Closed blibourel closed 8 years ago

blibourel commented 8 years ago

Hi, I use your module since few days and it works pretty well. I have just one issue that i'm not able to fix, so I supposed it's a problem on your module or libspotify (I'm not able to determine what is going wrong)

I use node 0.10.23 with the 0.7.0 version of libspotify and I try to make a streamable url from the return of the usenodejsaudio callback.

I use express and I send the buffer returned by this callback to my express responses. At this time, the memory usage of my node application increase at the same speed of receiving buffer from the 'useNodejsAudio'. But when the playing is done, the memory seems not to be free. So I suppose it is a leak ?

If I can provide more information or test for you, let me know. Thanks for this awesome plugin

blibourel commented 8 years ago

Sorry wrong repository