Kdenlive memory management
I've noticed that when I change the scale on the timeline, kdenlive re-reads all the video clips. Is there not some thumbnail cache that it can pull the thumbnails from?
It seems that whenever Kdenlive reads a video clip, it does not release that clip from memory. From a speed of playback perspective that sort of makes sense, I guess. However on larger projects my 24Gb of RAM is just not enough, and Kdenlive starts swapping to disk. Now all the gains from keeping a video clip in memory are gone.
One little trick I use is to save the large project, and then re-open it to force kdenlive to release the memory. Then I zoom in on the end of the project, where I am working.
Of course this is not ideal...
Can we please have kdenlive release clips from memory if they have not been accessed in a while? Or have some percentage of memory used before it starts releasing video from memory?
On the same vein, can we also have kdenlive not re-read all the clips on a timeline zoom change? Of course, if kdenlive does not do that, please accept my apologies. It's just I can see gigabytes of my ram disappear while the thumbnails are popping up one by one after a zoom level change.
EDIT: The memory is also not freed when opening a new project in some situations:
- Open a new project with 1080p25 doesn't free the memory.
- Open a new project with 1080p50 free the memory.
Additional information can be found on #474 (closed) (this issue has been closed has duplicate of this)