-
Notifications
You must be signed in to change notification settings - Fork 26
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
VLC's memory consumption steadily increases after switching to next videos #63
Comments
Hi. Looks like I'm going to blame someone else. :-) First of all, there are some difficulties with running VLC under Valgrind when libvdpau-va-gl is used. I don't know why, but it causes errors, while without Valgrind it works fine. And also there is some leaks that even tests have. But I don't know how to fix them, since memory is kept allocated even if I destroy all GLX contexts. Perhaps Mesa3d is caching memory for some reason. So, there is a dead end on this path. Next, I confirm that there is a leak of some kind when "next" command is issues with a high frequency. It doesn't look like XCB output is affected, but only until frequency increase by removing When I started to write this, memory consumptions were 4.5G VIRT, 2.5G RSS. Now they are 4.7G VIRT and 2.67G RSS. Which is kind of suprising, since I turned script off a while ago. Probably, commands were buffered somehow. |
Also Xorg ate 3G of memory. And it doesn't look like it's going to give it back. |
@i-rinat : hi! Thanks for the replies and I'm sorry for not replying sooner. Do you know where the bug is? Which one of us should report it elsewhere and where? Any insight would be appreciated. |
I tried to find anything, but I'm not familiar with the VLC code. There are too many modules, I don't where to start. I probably will try to look deeper, but I could easily take weeks, if not months for me. |
Hi!
If I enqueue the videos (*.webm, *.flv, *.mp4, etc.) in my collection and rapidly switch them which can be done by running
vlc --intf qt --extraintf telnet --telnet-password foo foo.xspf
and using this script with "PASSWORD=foo":this is with the default vdpau interface of VLC, and while using Mageia Linux x86-64 v6. Anyway, after doing this the memory consumption of VLC rapidly climbs - even beyond 10% of my 8 GB of RAM (which is even more than Firefox takes). I tested this on JWM And on Plasma 5. It does not seem to happen with VLC's Xcb output.
Please look into fixing it and sorry to be the harbinger of bad news again.
The text was updated successfully, but these errors were encountered: