FastFlix icon indicating copy to clipboard operation
FastFlix copied to clipboard

Adding directory takes anourmous amout of time and eats 16GB+ RAM

Open gxcreator opened this issue 2 years ago • 2 comments

RAM never returned back to OS even after files added.

gxcreator avatar Aug 09 '23 15:08 gxcreator

true

orithecapper avatar Sep 12 '23 19:09 orithecapper

The ram issue should be better in 5.5.7 and onward.

Doing a look through code there are a lot of optimizations that could be made for multiple file loads. As it was designed from the start for one video at the time, consideration was never taken into account for doing a lot at once. It will be a larger effort and will break it down into steps.

First goal will be to disable the update of Info and Debug screens for each load of the video. Then option to disable HDR10+ detection, as well as some optimization to running that script. The biggest improvement and hardest will be queue system improvements, as right now it deletes all the items in the queue and re-creates them each time a video is added (for safety / sync reasons). Will need to change how that works entirely.

cdgriffith avatar Nov 05 '23 21:11 cdgriffith