Vegas 22 Build 122 and Memory Issue

Comments

RedRob-CandlelightProdctns wrote on 12/3/2024, 5:23 PM

OK -- here are two videos showcasing at least ONE instance where this points to an issue with memory, some plug-ins, and the non-legacy GPU handling in Vegas.  During renders (not in these demo videos) I observed similar, with memory climbing a bit faster.

VIDEO 1 -- *not* using the legacy decoding, RX470

https://vimeo.com/1035789196/84695a5243

  • Single 4K video, project set to 1080. Event has Neat Video on it with temporal sharpening.
  • In the video, we watch the memory usage during playback, toggling the event FX on and off.
  • Observation -- when the FX is on, memory keeps climbing during playback. When it's off, memory holds static during playback.

VIDEO 2 -- using legacy decoding, RX470

https://vimeo.com/1035790773/8bc9817327

  • Same project
  • In the video, we watch the memory usage during playback, toggling the event FX on and off.
  • Observation -- when the FX is turned on, memory keeps for a second then stabilizes and holds constant. When it's off, memory also holds static during playback.

 

Last changed by RedRob-CandlelightProdctns on 12/3/2024, 5:24 PM, changed a total of 2 times.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

RogerS wrote on 12/3/2024, 5:24 PM

10bit 422 may be less likely to show issues as AMD GPUs can't decode it. Wonder if that is a clue.

jimingo-1 wrote on 12/3/2024, 5:28 PM

RedRob, I’m in the same boat. I do get better results with with iGPU off and GPU set to AMD or Nvidia (depending on the computer I’m using) but there’s still issues and I suspect just having an Intel component brings those issues to life. Again, I could be wrong but I don’t think I’ve seen the memory issue with all non-Intel parts.

RedRob-CandlelightProdctns wrote on 12/3/2024, 5:32 PM

@RogerS 

Interesting! That'd imply his GPU isn't being used for the decode and only helping with other processing and possibly the render.

My source is 4:2:0 8-bit (no judging!)

Similar disclaimer -- the samples demoing the problem (above) -- we had 7 cameras rolling so no judging the footage please ;-) By design, there are moments we wouldn't be using that camera's take.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

RedRob-CandlelightProdctns wrote on 12/3/2024, 5:34 PM

@VEGASDerek Any chance this could be prioritized in the dev/fix queue? I'm happy to help however you need me to. As you well know, "memory issues" have long been a sore spot, and thankfully your team has squished many over the years! This one seems to be... well.. still there.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

RogerS wrote on 12/3/2024, 5:35 PM

Yes, and thus may use less VRAM so less likely to demonstrate such issue is my guess.

I wish we had a sample project with media that runs out of ram on 8GB VRAM systems we could share with the developers.

No judgment here, it's part of the deal with live events.

RedRob-CandlelightProdctns wrote on 12/3/2024, 5:42 PM

I wish we had a sample project with media that runs out of ram on 8GB VRAM systems we could share with the developers.

Is that a not-so-subtle hint? ;-)

When you say 8GB VRAM, are you talking about GPU RAM? My GPU isn't running out.. it's overall system RAM (demonstrated in the video)

I can find a BTS clip that's short that probably, played on loop, would demonstrate the problem. If you watched my vids above, you can't get much simpler. One clip on timeline with an FX. Play. It happens.

 

Last changed by RedRob-CandlelightProdctns on 12/3/2024, 5:49 PM, changed a total of 1 times.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

RogerS wrote on 12/3/2024, 8:17 PM

@RedRob-CandlelightProdctns Yes, for GPU Vram as in the other thread we had the same media tested with two AMD systems, one an 8GB GPU and one 12GB and the 12 wouldn't crash. Modest amounts of system ram would also be helpful as high amounts may mask the issue. If these are two separate issues with separate causes that's also important to know (VRAM vs overall memory issue).

We really do need something to replicate and get to the bottom of this. I can't directly help not having an AMD GPU but others have a variety of systems.

EruDebu wrote on 12/3/2024, 11:27 PM

gpu stuck on 95% happens to me at least constantly with BCC light leaks OBSOLETE when rendering on 4k
also vram gets topped i have 64 system ram and 8 vram (rtx 3070)
i'm sure it can be an incompatibility with BCC obsolete plugins, but just saying in case someone is having the same issue

Reyfox wrote on 12/4/2024, 6:57 AM

@RedRob-CandlelightProdctns to see the amount of GPU RAM is being used, you have to go in Task Manager to the Performance tab, then click on the GPU. It will tell you how much dedicated GPU memory is being used from the GPU, and there should be GPU Memory which would include system RAM as a virtual GPU memory.

I will test later on. I too experienced that issue with rising system RAM where it would go all the way to the my system limit, causing everything else to screech to a halt in the past. I think @Gid was able to get his system RAM to be used on a simple clip to get over 100GB on his massive 256GB computer, but he would have to comment on it.

I'll do the same test as you did.

And out of curiosity, does this happen with only NeatVideo applied?

Last changed by Reyfox on 12/4/2024, 7:09 AM, changed a total of 1 times.

Newbie😁

Vegas Pro 22 (VP18-21 also installed)

Win 11 Pro always updated

AMD Ryzen 9 5950X 16 cores / 32 threads

32GB DDR4 3200

Sapphire RX6700XT 12GB Driver: 25.3.1

Gigabyte X570 Elite Motherboard

Panasonic G9, G7, FZ300

Reyfox wrote on 12/4/2024, 9:44 AM

@RedRob-CandlelightProdctns, after looking at your video, I am seeing the same thing with the continually rising of system RAM and a higher GPU RAM usage compared to legacy AVC decoding.

When using legacy AVC, system RAM usage levels out and doesn't increase. Without using legacy AVC, system RAM usage does NOT stop increasing. The more you play back your timeline, the RAM continues to grow.

With the clip I was working with (no effects), GPU RAM with legacy AVC was 5.1GB. With legacy AVC unchecked, 8.8GB. This is with only Vegas 22 open. No browser.

RedRob-CandlelightProdctns wrote on 4/22/2025, 2:38 PM

Unrelated to the RAM issue but related to the "Use Legacy Decoder" --

Does it not seem obvious to all that the non-legacy decoder has an issue which rears its ugly head every now and then, related to RAM and/or stability?

I'd love to squash this, and would be willing to enable debugging (if there was such a thing) to help try and track things down and get that improved.

Today on my main editing laptop, we have an 8-up (Multi-View), all clips have been proxied to be 1080p or 720p MP4s.. some or 60p some are 30p. Performance has been fine with full-frame playback, but as soon as we start editing, V22 was crashing -- every time. Checking Windows Performance Monitor, memory CPU and GPU all seemed within reasonable levels. Enabling Legacy Decode solved the problem and things are slightly slower on the edit, but very stable.

Thoughts?

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

RogerS wrote on 4/22/2025, 5:24 PM

Share a sample project with media so others can replicate and report the issue is one way to debug.

fifonik wrote on 4/22/2025, 5:46 PM

I was having some out of memory issues with my large project with 4K sources (mix AVC + HEVC) recently on my AMD CPU + AMD GPU system (full HW specs in my signature).

I've found that enabling "File I/O | Enable experimental HEVC decoding" dramatically decreases RAM usage but increases VRAM usage to max (I have not found any details on what this option actually does). I noted that it adds some delays during editing that are very unpleasant.
In my case I left the option turned OFF and added more RAM (16 => 32). Smooth editing is "the must" for me.

As for the problematic project -- I've just split it in parts for editing (planning to combine before final render by putting a few VP projects on timeline).

Last changed by fifonik on 4/22/2025, 5:48 PM, changed a total of 1 times.

Camcorder: Panasonic X1500 + Panasonic X920 + GoPro Hero 11 Black

Desktop: MB: MSI B450M MORTAR TITANIUM, CPU: AMD Ryzen 5700X, RAM: G'Skill 32 GB DDR4@3200, Graphics card: MSI RX6600 8GB, SSD: Samsung 970 Evo+ 1TB (NVMe, OS), HDD WD 4TB, HDD Toshiba 4TB, OS: Windows 10 Pro 22H2

NLE: Vegas Pro [Edit] 11, 12, 13, 15, 17, 18, 19, 22

Author of FFMetrics and FFBitrateViewer

Gid wrote on 4/22/2025, 5:56 PM

'non-legacy decoder', VP is pretty much at default settings, the 2 boxes are not ticked in File IO.

 I quite often see high RAM use & VP hanging on to it long after that project is closed, what the exact cause is is hard to say as I'm not watching my RAM all the time. Luckily I've got enough to ignore it most of the time but something weird just happened, so I've gotta share.

I went for a kip for a couple of hrs, the PC is quite often just put to sleep, so when I woke up I woke it up, made a cuppa & read your latest comment, looked at my RAM & it was 60GB 😒, I've got a system care app that cleans the RAM so I ran that which reduced it down to 45GB, that's still high. I looked at Vegas which was open, nothing on the timeline (also open is GIMP, Google with several tabs, a couple of Windows folders + Taskmanager) , . As I say I'm used to ignoring this high RAM but just as a test I opened a project I've been playing with recently to see if that was the cause for the high RAM. 🤔 On opening of that project RAM immediately dropped to 14GB, that's as low as it ever gets, even on Restart of the PC with nothing open it's about that amount 🤷‍♂️😂😂

Normally I close VP to clear the RAM, but I'm now wondering if opening this project is an easier solution as I don't lose the vfx preset cache that finds presets with the search box 😂

Last changed by Gid on 4/22/2025, 6:05 PM, changed a total of 1 times.

Vegas Pro 18 - 22
Vegas Pro/Post 19
Boris Continuum & Sapphire, 
Silhouette Standalone + Plugin, 
Mocha Pro Standalone + Plugin, 
Boris Optics,
NewBlue TotalFX
Desktop PC Microsoft Windows 10 Pro - 64-Bit
ASUS PRO WS WRX80E-SAGE SE WIFI AMD Motherboard
AMD Ryzen Threadripper PRO 3975WX 3.5GHz 32 Core
Corsair iCUE H150i RGB PRO XT 360mm All-in-One Liquid CPU Cooler
RAM 256GB ( 8x Micron 32GB (1x 32GB) 2666MHz DDR4 RAM )
2x Western Digital Black SN850 2TB M.2-2280 SSD, 7000MB/s Read, 5100MB/s Write
(programs on one, project files on the other)
Graphics MSI GeForce RTX 3090 SUPRIM X 24GB OC GPU
ASUS ROG Thor 1200W Semi-Modular 80+ Platinum PSU 
Fractal Design Define 7 XL Dark TG Case with 3 Fans
Dell SE3223Q 31.5 Inch 4K UHD (3840x2160) Monitor, 60Hz, & an Acer 24" monitor.

At the moment my filming is done with a Samsung Galaxy S23 Ultra 5G & a GoPro Hero11 Black

I've been a Joiner/Carpenter for 40yrs, apprentice trained time served, I don't have an apprentice of my own so to share my knowledge I put videos on YouTube.

YouTube videos - https://www.youtube.com/c/Gidjoiner

 

RedRob-CandlelightProdctns wrote on 4/22/2025, 8:54 PM

Share a sample project with media so others can replicate and report the issue is one way to debug.

The one which kept crashing today has 664 GB of media on the timeline. 8 cameras, 3 acts, 8 channels of 32-bit float audio. Sharing the project is easy.. sharing the media -- not happening. (would do so privately with Vegas dev team if it helped, but not the general public)

The crashing today didn't seem memory related (was not anywhere near exhausted), but was resolved all the same by enabling the legacy decoder.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

RogerS wrote on 4/22/2025, 9:38 PM

@RedRob-CandlelightProdctns In that case I'd file a support request vs this public forum and offer them the files.

If you want to share things privately you are welcome to (feel free to message me) but I am not the dev team.

Gid wrote on 4/24/2025, 11:22 PM

Here's an example of what I see often with just average editing, MP4's, MOV's .. It doesn't really matter & can arise from numerous different scenarios, as in this vid the simplest of scenarios, a couple of MP4's & a BCC Linear wipe. As I wrote above I'm not aware of high RAM usage without looking at Taskmanager but I do have Taskmanager open so I can have a quick look, esp with the way VP is behaving.

Last changed by Gid on 4/24/2025, 11:25 PM, changed a total of 1 times.

Vegas Pro 18 - 22
Vegas Pro/Post 19
Boris Continuum & Sapphire, 
Silhouette Standalone + Plugin, 
Mocha Pro Standalone + Plugin, 
Boris Optics,
NewBlue TotalFX
Desktop PC Microsoft Windows 10 Pro - 64-Bit
ASUS PRO WS WRX80E-SAGE SE WIFI AMD Motherboard
AMD Ryzen Threadripper PRO 3975WX 3.5GHz 32 Core
Corsair iCUE H150i RGB PRO XT 360mm All-in-One Liquid CPU Cooler
RAM 256GB ( 8x Micron 32GB (1x 32GB) 2666MHz DDR4 RAM )
2x Western Digital Black SN850 2TB M.2-2280 SSD, 7000MB/s Read, 5100MB/s Write
(programs on one, project files on the other)
Graphics MSI GeForce RTX 3090 SUPRIM X 24GB OC GPU
ASUS ROG Thor 1200W Semi-Modular 80+ Platinum PSU 
Fractal Design Define 7 XL Dark TG Case with 3 Fans
Dell SE3223Q 31.5 Inch 4K UHD (3840x2160) Monitor, 60Hz, & an Acer 24" monitor.

At the moment my filming is done with a Samsung Galaxy S23 Ultra 5G & a GoPro Hero11 Black

I've been a Joiner/Carpenter for 40yrs, apprentice trained time served, I don't have an apprentice of my own so to share my knowledge I put videos on YouTube.

YouTube videos - https://www.youtube.com/c/Gidjoiner

 

Reyfox wrote on 4/25/2025, 6:29 AM

I'd open a project and on my lowly 32GB RAM computer, the short 7 minute project will consume 21GB when I first open it. If I have the timeline zoomed in to only shows a couple of timeline assets, it lowers RAM usage. But as soon as I zoom out and all the timeline thumbnails have to be built, RAM shoots up again. Lots of disc activity happens too when I zoom out with increased RAM usage

If I just let the project sit there and wait for all the CPU/GPU activity in Vegas (monitoring Task Manager), to basically stop, RAM drops a lot.

I'm just curious as to how Vegas handles these timeline changes. Is there a memory buffer?