VEGAS 22/23: Dynamic RAM Preview Causing Runaway VRAM Leak (50 Series)

Comments

JulioAZ wrote on 10/28/2025, 3:24 PM

@chell , sorry to bother you again... can you run a new test?!
I noticed that on your video test in preferences, "GPU Acceleration of Video Processing" is set to "Optimal - NVIDIA GeForce 50..." as the active function.
Go to "Preferences → File I/O → Hardware Decoder To Use" and select the dedicated video card. When you change and restart Vegas, notice if the field now only shows the name of the dedicated card without "optimal".
I understand that your case is not a matter of "memory leak", but the problem may be related.

I haven't stopped testing (--"), because I produce large and often tedious projects (lol), so I need software stability or I'll go crazy.

Here I identified a difference between "Optimal" and "Auto" in the two tabs ("Video" and "File I/O"); it seems to really change how Vegas manages the GPU and timeline processes.

I've apparently had good results by changing this simple option. I'll monitor it with new projects, but my instability and memory leak issues have been resolved with this. The VRAM vs. RAM vs. GPU usage ratios seem to be much more stable. 😅
--------------------------------------------------------------

With the help of ChatGPT, I tried to understand and it reported the following:

"Optimal - XXX"
It activates hybrid routines (decoding one section via the CPU, another via the GPU).
This can cause high and irregular VRAM usage, as Vegas reserves blocks of memory for "pre-buffers" that it may not even use.
This feature comes from recent builds (Vegas 21+) and was designed for systems with both GPU and iGPU active.

"No "Optimal" / No "Auto""
This drastically reduces the use of "phantom" VRAM, because the GPU now works with a fixed buffer (Vegas doesn't reserve additional blocks "just in" case").

Why "Auto" causes the leak and possible instability
When "Hardware Decoder to Use" is set to Auto, Vegas:
- Detects available GPUs and creates parallel instances of the AMF and DXVA2 (AMD) decoders.
- Even if only AMD is in use, it keeps the allocations of both on standby, doubling the VRAM reserve and mirroring parts of it in RAM.

In summary:
"Optimal" + "Auto" activates a hybrid mode that duplicates buffers between the GPU and CPU, which causes memory leaks and instability. By manually forcing the dedicated GPU on both tabs, Vegas uses a more direct and clean pipeline.

--------------------------------------------------------------

Maybe this isn't the problem, but I thought it was interesting to share and this question about the new pipeline (Vegas 21+) that was implemented makes sense.
I just hope everything gets resolved and we have stability. 👊

john_dennis wrote on 11/8/2025, 5:43 PM

I'm not proposing this as a replacement for better Vegas Pro coding, but as a diagnostic approach.

I wonder if this massive addition to pagefiles all over every disk in the known universe would keep the system from crashing?

Very Old Workaround Here

https://www.vegascreativesoftware.info/us/forum/vp-14-win10-out-of-memory-problem--103767/?page=2#ca641817

@JulioAZ 

monoparadox wrote on 11/9/2025, 12:36 AM

There's a sweet little utility called Microsoft PC Manager that will reclaim memory at the push of a button. I have never had it crash Vegas even while running and rendering. Download it from the Microsoft store unless it's already installed. AFAIK only for Windows 11. Since it's Microsoft, it seems to know which buttons to push to get the job done.

Samsarulz wrote on 11/20/2025, 3:52 PM

I have this issue with DDR5 RAM. Task Manager reports 10GB are being used (VP23, Chrome, Discord, bg apps, etc), but "used RAM %" is close to 90%, so most RAM goes to nowhere when VP is open. With 0% Dynamic seems to solve this issue. Will look over to GPU VRAM. Regards

JulioAZ wrote on 2/24/2026, 4:46 PM

I'm not proposing this as a replacement for better Vegas Pro coding, but as a diagnostic approach.

I wonder if this massive addition to pagefiles all over every disk in the known universe would keep the system from crashing?

Very Old Workaround Here

https://www.vegascreativesoftware.info/us/forum/vp-14-win10-out-of-memory-problem--103767/?page=2#ca641817

@JulioAZ 

@john_dennis this option makes the PC take longer to freeze. However, it doesn't solve the problem; it also consumes all the paging space and freezes if the program isn't closed, after a long time of playback on the timeline. Even if I add 43GB more paging space to the system.The memory consumption is insane, even in projects with few files.

I still persist in finding ways to deal with the problem, as I use it professionally for my deliveries and I am still making a stubborn effort not to study video editing in other software. Since I've been using all my workflow/plugins within Vegas for 20 years.I've been using Vegas for 20 years, and most of the time I used Vegas Pro 13 and 15 without hardware acceleration; this problem didn't exist then. I had to buy version 22 because there was a lot of demand from influencers (iphone/cellphones) and cameras with H.265 codec/new codecs. With the amount of files I receive, it's awful to have to convert files for every request, or not having GPU acceleration for smoother editing.

-----------------------

The solution I found is to use the "Reduce Memory" software. It has an automatic option to "clean RAM" when it reaches a certain percentage (enable it in options "Set the threshold to auto optimize memory"). I set it to 85%, and when it reaches this usage, it "resets" and lowers RAM usage to 20%. This eliminates the need to close and reopen Vegas every time it uses all the RAM.

If anyone is having this problem and wants to test it, I'll leave the link below... and comment if it worked.

Reduce memory v1.7
https://www.sordum.org/9197/reduce-memory-v1-7/

Direct download:
https://www.sordum.org/downloads/?st-reduce-memory