Skip to content
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

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

Open
gxcreator opened this issue Aug 9, 2023 · 2 comments
Open
Labels
bug Something isn't working

Comments

@gxcreator
Copy link

RAM never returned back to OS even after files added.

@gxcreator gxcreator added the bug Something isn't working label Aug 9, 2023
@orithecapper
Copy link

true

@cdgriffith
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants