You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am going to open this issue myself to let users know I am aware of it, and am currently looking for a fix. Any advice would be appreciated for this, because I am having lots of trouble finding the cause of it.
There appears to be a memory leak when streaming video, this is most noticeable on Ubuntu when playing large videos (200mb+), where even after the user stops streaming the video, none of the memory gets released. It's odd because this does not seem to be an issue on macOS as far as I can tell.
I also made a demo for this where I stripped out all the encryption and complicated parts, the only thing that is somewhat complicated is it attempts to destroy a stream if another one is issued by the same client, which seems to help a little bit with the memory issue (and fixes and I/O issue), but it still will not release the memory, and will sometimes even crash because the server ran out of it.
I am going to open this issue myself to let users know I am aware of it, and am currently looking for a fix. Any advice would be appreciated for this, because I am having lots of trouble finding the cause of it.
There appears to be a memory leak when streaming video, this is most noticeable on Ubuntu when playing large videos (200mb+), where even after the user stops streaming the video, none of the memory gets released. It's odd because this does not seem to be an issue on macOS as far as I can tell.
I also made a demo for this where I stripped out all the encryption and complicated parts, the only thing that is somewhat complicated is it attempts to destroy a stream if another one is issued by the same client, which seems to help a little bit with the memory issue (and fixes and I/O issue), but it still will not release the memory, and will sometimes even crash because the server ran out of it.
Demo: https://github.com/subnub/video-streaming-test-no-encryption
Note: You should probably replace the default video 'bunny.mp4' with something larger, so you can see the memory leak easier.
The text was updated successfully, but these errors were encountered: