Ubuntu 24.04.1 LTS version on an older PC.
Mainboard Gigabyte Technology Co., Ltd. F2A88XM-HD3
AMD A10-5800K APU with Radeon™ HD Graphics × 4
RAM 8 GB
Hard disk 500 GB
What is your Shotcut version (see Help > About Shotcut)?
Shotcut version 24.11.17
Can you repeat the problem? If so, what are the steps?
Everything was fine while editing a video. in the end I added a picture and want to zoom in to the maximum - and fade it out.
I used 4 keyframes, first zooming in a little bit. Stay on this position and in the end it should zoom to max. 1000%
But as soon as I used the fader and zoomed over 600%, I heard the harddisk working very hard… and computer gets slow.
Then, suddenly I saw the ubuntu bootscreen. Shotcut crashed the whole operation system! I never saw this before.
After reboot, I tried again but only with 936%.
Then it showed that the memory is low…
I know I have less memory on this old computer. But it should never crash whole system.
Swap file is set to default ubuntu settings, I didn’t change it. Perhaps I should increase it.
after opening shotcut and the project, total RAM usage is 2 GB of 7,5 GB total.
Shotcut only: 480 MB
Swap file is still 0 Bytes.
Then I go to the picture with the keyframes with high zoom level.
Opening tab keyframes: RAM usage of shotcut jumps directly up to 3,6 GB
Playing that part of video with high zoom level: RAM of shotcut goes to 5,1 GB.
And page file uses 129 MB.
Even after stopping play file, it stays high. Memory leak in program?
Then, total Ram usage is 6,8 GB of 7,5 GB (91%) and computer gets slow.
It is a very huge difference between 480 MB and 5,1 GB - which is only caused by the zoom feature.
Then I closed this project in shotcut. Shotcut then uses 615 MB RAM.
This is more than it uses before - even if the project was opened (see above, it was 480 MB).
So it doesn’t free all RAM which was used before for the zoom feature.
Shotcut does not have the best memory management. Yes, memory leaks are present.
It is high likely using only 8GB RAM to crash. Even when it looks like in the task manager to use 70% of total RAM the usage it could be for micro to a few milliseconds memory usage spikes when your PC can ran out of RAM.
What you describe is that the zoom feature does first extend the frame to the zoom level and crop the frame later. This is indeed not memory efficient but it is the easiest and fastest way with the least bug potential.
You can try to use two zoom filters instead of one on your PC. The first is set to 300% → 9x in memory use instead of 600% 36x in mem use. And than use again the same filter with 200% of zoom with 4x in mem usage compared to the original frame.
Try to make a completely separate project just with that image zooming in, maybe that finishes exporting and you can just add the finished video into the original project.