Crash when loading specific project file
I am working on a project that is a little bigger than my usual one, with raw footage at about 46Gb.
My computer has 40Gb RAM total, which should be plenty, but if I drag in all the clips into a newly created project, the computer runs out of memory and crashes.
In situations like this in the past, I would drag in a bunch of the clips, wait for the proxies to be generated, and then save the project, exit kdenlive completely, and then restart kdenlive and reloading the project. This trick usually works because kdenlive does not load the source clip into memory if there is a proxy available and proxies are enabled, because then it only loads the proxy into RAM, drastically reducing the amount of RAM used.
This worked for a bit, and then failed too. I suspect that something else is going wrong as I keep an eye on the memory used, and while loading this project total RAM usage is about 30% of the installed RAM before it segfaults.
Here is a backtrace: kdenlive_2023-04-02.txt
and here is the project file: Achab_Camping.kdenlive
This is with the latest versions of mlt and kdenlive built from source pulled from git on 2023-04-02 I have a gut feeling that it's the sheer number of clips in the project that is causing the issue, but again there should be no upper limit to clips in a project, right?
About my system:
Operating System: Arch Linux
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.9-AMD-znver2 (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Memory: 37.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 20T8001JUS
System Version: ThinkPad E15 Gen 2