I have a pretty good laptop with 16GB RAM that should NOT be freezing after trying to fade in audio, or scrolling, or doing literally anything when I have only 2 tracks and a 1080p video.
I checked Task Manager and apparently Shotcut is using 11.5GB of my RAM, which is going up to 97%. CPU is no more than 30%. There is absolutely no reason for it to need 11GB RAM when I’m just importing a 500MB video file.
I think you are correct it should probably not be using that much memory. It is not normal, but something very specific that you did probably triggered a memory leak. However, we do not know what that is. Do you? Can identify the exact steps or combination of things that caused it?
Thank you for the quick response. I did nothing out of the ordinary, but I should note that the insane RAM usage was only noticed today. I hadn’t checked task manager all the other (very frequent) times that Shotcut lagged/froze. It likely is the same problem but I’m not sure.
What I did was import a 500MB mp4, import a 54MB WAV file (both drag&drop), add a fade in for both and cut a bit of the beginning. Even while trying to fade in and cut, it was unbearably slow until I eventually pressed play and zoomed out and it froze for minutes.
Right now it’s at 5.3GB RAM usage. Less but still abnormal.
I’ll be happy to give any additional info, sorry for not knowing straight up what to include.
Actually it seems it’s running much better now after using the OpenGL setting, thank you! It’s at least comfortably usable now, despite Audio view still crashing every time. I suspected it had to do with rendering method.
You should also ensure you only have one shotcut.exe in the Task Manager Details view. It does not run well with more than one even if one is hung in the background. Also, when first importing a long clip with audio please allow time for the waveform generation running in the background. That adds activity that can make it feel slower.
Exactly, thanks for the screenshots. This is exactly what confused me as well - task manager DID show GPU 1 (NVIDIA dGPU) as being used by Shotcut. Maybe it was doing some sort of hybrid usage before I forced the option in settings? Either way this is what fixed it for me!