mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
393 stars 113 forks source link

Suspected ffmpeg memory leak #717

Closed ghost closed 2 years ago

ghost commented 2 years ago

Even though you have stopped responding to users posting issues, I will do this one last post. After your latest 2.6.2 commits, if you leave AM running for a couple of hours randomly shuffling through video snaps, the memory usage grows and is not released. 4 hours of random wheel navigation results in about 700MB RAM usage on my PC. Before 2.6.2 it would have stayed under 200MB. Image Cache size is set to 0. No background loading. There is a video related memory leak for sure and the worst thing to do is continue to pile code on top of it.

I wish you all the best and goodbye, Yaron

mickelson commented 2 years ago

Should be fixed now, thanks for the report!