Shotcut UI locks up and memory consumption goes nuts under Windows 11

There have been previous reports of memory increases on small projects that have been solved by changing the Display Method. What are you using?(Menu item SettingsDisplay Method)

I am using “DirectX (ANGLE)” on Windows 11, if you have a different setting setting, try that. Another one to try is “OpenGL”.

Thanks! I poked around in Regedit and found a few obvious references to Shotcut - some of which were easy to understand and some were incomprehensible numbers. I’ll look through the link you posted tomorrow.

Don’t forget to try changing the Display Mode.

Thanks! My Display Method defaults to DirectX, which is what I’ve always used historically and never seen any particular problem with. My video card has 8GB of memory and can handle DirectX-12 if need be. I tried switching the Display Method to OpenGL a few days ago with no effect. I don’t have any preview scaling enabled at all

A few days ago I upgraded to the latest 22H2 version of Windows 11 and tried the Pixabay file again. Again, no problems at all. I really don’t know what else to suggest.

I looked at the Shotcut settings in the Windows registry and from the variable description given above, I see that the “appdatadir” is set to the Shotcut working folder which (again from the variable description document) means that all the other variables are being set from the INI file there, not from the registry. Not sure this is correct though, because I don’t see the “savePath” variable set anywhere in the INI file, and Shotcut is remembering it and getting it from somewhere… Anyway, here is my Shotcut.ini file, which I don’t see anything wrong with:

[General]
geometry=“@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\x44\0\0\0\x1c\0\0\x6;\0\0\x3\xcc\0\0\x1\x45\0\0\0>\0\0\x6:\0\0\x3\xcb\0\0\0\0\0\0\0\0\a\x80\0\0\x1\x45\0\0\0>\0\0\x6:\0\0\x3\xcb)”
geometryDefault=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\xf5\0\0\x2\xaf\0\0\0\0\0\0\0\0\0\0\x4\xf5\0\0\x2\xaf\0\0\0\0\0\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x4\xf5\0\0\x2\xaf)
smallIcons=false
textUnderIcons=true
titleBars=true
toolBar=true
windowState=“@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x3\0\0\0\0\0\0\x2\x64\0\0\x2’\xfc\x2\0\0\0\x1\xfc\0\0\0T\0\0\x2’\0\0\x1\x45\x1\0\0\x18\xfa\0\0\0\x3\x2\0\0\0\x5\xfb\0\0\0\x18\0P\0l\0\x61\0y\0l\0i\0s\0t\0\x44\0o\0\x63\0k\x1\0\0\0\0\xff\xff\xff\xff\0\0\0|\0\xff\xff\xff\xfb\0\0\0\x16\0\x46\0i\0l\0t\0\x65\0r\0s\0\x44\0o\0\x63\0k\x1\0\0\0\0\xff\xff\xff\xff\0\0\x1,\0\xff\xff\xff\xfb\0\0\0\x1c\0p\0r\0o\0p\0\x65\0r\0t\0i\0\x65\0s\0\x44\0o\0\x63\0k\x1\0\0\0\x46\0\0\x3\x1a\0\0\0Y\0\xff\xff\xff\xfb\0\0\0\x14\0\x45\0n\0\x63\0o\0\x64\0\x65\0\x44\0o\0\x63\0k\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\x95\0\xff\xff\xff\xfb\0\0\0\x12\0N\0o\0t\0\x65\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0Y\0\xff\xff\xff\0\0\0\x1\0\0\x1\x46\0\0\x2’\xfc\x2\0\0\0\x1\xfc\0\0\0T\0\0\x2’\0\0\0\x8b\0\xff\xff\xff\xfc\x1\0\0\0\x2\xfb\0\0\0$\0\x41\0u\0\x64\0i\0o\0P\0\x65\0\x61\0k\0M\0\x65\0t\0\x65\0r\0\x44\0o\0\x63\0k\x1\0\0\x3\xb0\0\0\0\x44\0\0\0\x44\0\xff\xff\xff\xfc\0\0\x3\xfa\0\0\0\xfc\0\0\0\x96\0\xff\xff\xff\xfa\0\0\0\0\x2\0\0\0\x3\xfb\0\0\0\x14\0R\0\x65\0\x63\0\x65\0n\0t\0\x44\0o\0\x63\0k\x1\0\0\0\0\xff\xff\xff\xff\0\0\0r\0\xff\xff\xff\xfb\0\0\0\x16\0h\0i\0s\0t\0o\0r\0y\0\x44\0o\0\x63\0k\x1\0\0\0\0\xff\xff\xff\xff\0\0\0Y\0\xff\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62\0W\0\x61\0v\0\x65\0\x66\0o\0r\0m\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfb\0\0\0\x1a\0R\0g\0\x62\0P\0\x61\0r\0\x61\0\x64\0\x65\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfb\0\0\0$\0V\0i\0\x64\0\x65\0o\0H\0i\0s\0t\0o\0g\0r\0\x61\0m\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfb\0\0\0"\0\x41\0u\0\x64\0i\0o\0W\0\x61\0v\0\x65\0\x66\0o\0r\0m\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfb\0\0\0"\0\x41\0u\0\x64\0i\0o\0S\0p\0\x65\0\x63\0t\0r\0u\0m\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfb\0\0\0,\0\x41\0u\0\x64\0i\0o\0L\0o\0u\0\x64\0n\0\x65\0s\0s\0M\0\x65\0t\0\x65\0r\0\x44\0o\0\x63\0k\0\0\0\x2\x66\0\0\x1\xc8\0\0\0W\0\xff\xff\xff\xfb\0\0\0\x16\0M\0\x61\0r\0k\0\x65\0r\0s\0\x44\0o\0\x63\0k\0\0\0\x3\xf8\0\0\0\xfe\0\0\0\x44\0\xff\xff\xff\0\0\x1@\0\0\x2’\0\0\0\x1\0\0\0\x2\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x16\0m\0\x61\0i\0n\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)”
windowStateDefault=“@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\xfc\x2\0\0\0\x1\xfc\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\xff\xff\xff\xfa\xff\xff\xff\xff\x2\0\0\0\x5\xfb\0\0\0\x1c\0p\0r\0o\0p\0\x65\0r\0t\0i\0\x65\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0Y\0\xff\xff\xff\xfb\0\0\0\x18\0P\0l\0\x61\0y\0l\0i\0s\0t\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0\xc8\0\xff\xff\xff\xfb\0\0\0\x16\0\x46\0i\0l\0t\0\x65\0r\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\x1,\0\xff\xff\xff\xfb\0\0\0\x14\0\x45\0n\0\x63\0o\0\x64\0\x65\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0\x95\0\xff\xff\xff\xfb\0\0\0\x12\0N\0o\0t\0\x65\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0Y\0\xff\xff\xff\0\0\0\x1\0\0\0\0\0\0\0\0\xfc\x2\0\0\0\n\xfb\0\0\0,\0\x41\0u\0\x64\0i\0o\0L\0o\0u\0\x64\0n\0\x65\0s\0s\0M\0\x65\0t\0\x65\0r\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfc\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\xff\xff\xff\xfc\x1\0\0\0\x2\xfb\0\0\0$\0\x41\0u\0\x64\0i\0o\0P\0\x65\0\x61\0k\0M\0\x65\0t\0\x65\0r\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0\x44\0\xff\xff\xff\xfc\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\xff\xff\xff\xfa\xff\xff\xff\xff\x1\0\0\0\x3\xfb\0\0\0\x14\0R\0\x65\0\x63\0\x65\0n\0t\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0\x96\0\xff\xff\xff\xfb\0\0\0\x16\0h\0i\0s\0t\0o\0r\0y\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0\x96\0\xff\xff\xff\xfb\0\0\0\x10\0J\0o\0\x62\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0h\0\xff\xff\xff\xfb\0\0\0"\0\x41\0u\0\x64\0i\0o\0S\0p\0\x65\0\x63\0t\0r\0u\0m\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfb\0\0\0$\0V\0i\0\x64\0\x65\0o\0H\0i\0s\0t\0o\0g\0r\0\x61\0m\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfb\0\0\0\x1a\0R\0g\0\x62\0P\0\x61\0r\0\x61\0\x64\0\x65\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfb\0\0\0\x1e\0R\0g\0\x62\0W\0\x61\0v\0\x65\0\x66\0o\0r\0m\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfb\0\0\0\x1e\0V\0i\0\x64\0\x65\0o\0V\0\x65\0\x63\0t\0o\0r\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfb\0\0\0"\0V\0i\0\x64\0\x65\0o\0W\0\x61\0v\0\x65\0\x66\0o\0r\0m\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfb\0\0\0\x1a\0V\0i\0\x64\0\x65\0o\0Z\0o\0o\0m\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\xfb\0\0\0"\0\x41\0u\0\x64\0i\0o\0W\0\x61\0v\0\x65\0\x66\0o\0r\0m\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0W\0\xff\xff\xff\0\0\0\x3\0\0\0\0\0\0\0\0\xfc\x1\0\0\0\x2\xfb\0\0\0\x16\0M\0\x61\0r\0k\0\x65\0r\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0\x44\0\xff\xff\xff\xfc\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\xff\xff\xff\xfa\xff\xff\xff\xff\x1\0\0\0\x2\xfb\0\0\0\x1a\0K\0\x65\0y\0\x66\0r\0\x61\0m\0\x65\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0\xc8\0\xff\xff\xff\xfb\0\0\0\x18\0T\0i\0m\0\x65\0l\0i\0n\0\x65\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0\xc8\0\xff\xff\xff\0\0\x4\xf6\0\0\x2^\0\0\0\x1\0\0\0\x2\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x16\0m\0\x61\0i\0n\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)”
openPath=B:/Screen_Capture_Videos
recent=B:/Screen_Capture_Videos/2022-11-16_01-10-43.mp4, B:/Screen_Capture_Videos/2022-05-06_00-27-36.mp4, B:/Screen_Capture_Videos/2022-05-06_00-34-09.mp4, D:/Downloads/Colours - 26493.mp4

[encode]
parallelProcessing=true
hardware=hevc_amf, hevc_nvenc, hevc_qsv
useHardware=true

[player]
gpu=false
muted=false
zoom=@Variant(\0\0\0\x87\0\0\0\0)
jack=false

[playlist]
thumbnails=small
viewMode=icons

Here’s what’s in the registry too (the sub categories just have a few simple preference settings in them, not that interesting):

All of the variables listed in the description document seem pretty harmless, as far as telling Shotcut to go nuts or something. Most of them aren’t even set in the INI file at all, and I don’t see any variables that would keep track of running output jobs - something that it does keep track of, but where?

Well, I haven’t really thought of anything else to try… I tried turning off the anti-virus again, after removing Spybot S&D completely - but still the same problem.

The only good news is that I’m getting better at all the weird keystrokes needed to do basic editing with Davinci Resolve (DR), which like OpenShot is able to successfully import and process any input source videos that I have. DR has one unusual rendering setting that tells it not to re-render a clip if it “doesn’t need to” (i.e. the output resolution and frame rate is the same as the input’s I presume) - and that saves a bunch of time to create the output file! I created an edited down 12 minute video in just over 4 minutes, while only using about 15% of the CPU resources, instead of the nearly 1:1 ratio with the video’s length that I can often see. Interesting and useful setting!

Anyway, it seems unlikely that any future version of Shotcut will be able to fix my problem, given that it can’t be duplicated by any of you at all. I know everyone probably thinks my system is weird, broken, or running some odd-ball stuff to make Shotcut behave this way, but everything else I run - even stuff like Cygwin, OBS Studio, more games than I can count, web and ftp servers, VirtualBox, and iSpy universally work perfectly. What ever is going on to make Shotcut fall into a black hole, I still have no clue.

Thanks everyone, for your help and good ideas to diagnose and correct this issue!. I’ll be waiting for a miracle to fix this I guess! -:slight_smile:

Hey! Guess what? At first test Shotcut version 22.12 seems to fix my memory leak problem under Windows 11! I see that the update notes for it and last month’s version 22.11 mention some memory leaks, so hopefully that was it!

I ran the small “Colours.mp4” test video file through a re-rendering with a slightly different frame rate with no problems - unlike what I’d been seeing using version 22.10.25 (where it got into a loop consuming memory hand over fist). I’ll try to do some more extensive tests with some bigger files in the next few days and report back if I observe any further issues. I hope not!

Wishing everyone a peaceful and relaxing holiday season!

This topic was automatically closed after 90 days. New replies are no longer allowed.