-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow memory leak with streamlink and Twitch #5889
Comments
are you sure this isn't just the backwards cache filling? |
On this instance the mpv RAM usage went from 100 megabytes to 280 megabytes, but i saw it other times going even to 600 megabytes. To me it looks exactly like a memory leak. |
Like @CounterPillow said, it is possibly just cache settings. Try with the mpv-git which has smaller cache defaults. Look at |
You're right, with But i tried as a value for the two options 10 megabytes at 360p (which should be good considering that the incoming cache uses at maximum 1-2 megabytes at 360p) and the final RAM usage was still 270 megabytes. Limiting (and by a lot) the cache definitely helped, but in the end not that much. I'm kinda disappointed with this behaviour, because on local files mpv is great. |
mpv version and platform: 1:0.28.2-2 with Manjaro 17.1.10
Reproduction steps: "streamlink -p mpv twitch.tv/*** ###p"
Expected behavior: RAM usage by mpv stays constant in time
Actual behavior: mpv process slowly eats more and more RAM
Log file https://0x0.st/s_u3.txt
The log file talks about a "slow/stuck network connection" but on this occasion i made sure that the stream would not freeze or stop because of low cache, so i'm not sure what is the reason of this warning.
The text was updated successfully, but these errors were encountered: