Vegas Pro 21 low on memory error, when RAM usage is only 56%

Comments

Attila-Cseh wrote on 12/30/2023, 4:54 PM

And again my question is, where else I need to change in Prefernces to make it use ONLY Nvidia?

AFAIK nowhere and the strange thing is that in other machines at FileI/O and Video when the Nvidia is choosen it is stated as "Auto Nvidia ....." or "Optimal Nvidia...", like mine

 

I'm glad, that you are back j-v!

You are right, you have got "Optimal" and "Auto" by Nvidia. On my PC they are by Intel onboard GPU.

J-Toresen also have got the "Optimal" by the Nvidia.

I don't know, what optimal and auto mean, but it rises other questions.

Why is it different on my PC?

What makes Vegas to associate "Auto" and "Optimal" to an onboard GPU?

 

Former user wrote on 12/30/2023, 5:52 PM

I saw in your user notes you say

The Vegas was rendering, then all of a sudden the monitor blacked out for like 10 sec and then came back. Please tell me what is wrong and how to prevent of happening it again. I just purchased your software 1 day ago. Thank you.

That could be GPU drivers crashing and restarting. You could try using DDU to uninstall current drivers in and reinstalling latest studio drivers, But also it could be a symptom of Windows running out of Ram causing video drivers to crash because I've also seen that.

If you haven't reset Vegas could try that too, reset is not the same as reinstalling Vegas. If you have a corrupt install removing and reinstalling can carry over the problem.

 

Adis-a wrote on 12/31/2023, 12:59 AM

Hi!

1. I'll try to turn RAW processor off. I don't shoot RAW video.

2. Did not use adjustment layer.

3. I'll do reset Vegas, however I just installed it 3 days ago.

4. The reason I allways wrote just a few seconds, because rendering did not last longer than that, befor it crashed.

----

I still don't understand, if I select Nvidia everywhere in Preferences, during rendering, why does Vegas change to Intel onboard GPU? Since it happens, it can really cause lack of memory error. I don't know how much memory Intel onboard GPU has, but definetly not o lot wich is enough for nothing for Vegas. :)

Um, untick this?

 

RogerS wrote on 12/31/2023, 1:54 AM

Hi!

1. I'll try to turn RAW processor off. I don't shoot RAW video.

2. Did not use adjustment layer.

3. I'll do reset Vegas, however I just installed it 3 days ago.

4. The reason I allways wrote just a few seconds, because rendering did not last longer than that, befor it crashed.

----

I still don't understand, if I select Nvidia everywhere in Preferences, during rendering, why does Vegas change to Intel onboard GPU? Since it happens, it can really cause lack of memory error. I don't know how much memory Intel onboard GPU has, but definetly not o lot wich is enough for nothing for Vegas. :)

If you don't use raw video it doesn't matter what that is set to.

Do either of the projects in my signature render okay? They work on many systems without issue and have known good media.

The onboard GPU uses system ram so has more than a dedicated GPU. Intel decoding is more reliable than NVDEC in VEGAS so I would use it for that but not in preferences/video.

I do not think VEGAS is changing GPU during the render. I have two Intel/NVIDIA systems and manage the benchmarks in my signature so have familiarity with how it works.

Attila-Cseh wrote on 12/31/2023, 5:49 AM
Do either of the projects in my signature render okay? They work on many systems without issue and have known good media.
--- Yes, both were OK, thank you.
The onboard GPU uses system ram so has more than a dedicated GPU. Intel decoding is more reliable than NVDEC in VEGAS so I would use it for that but not in preferences/video.
--- I set decoding to Intel in File I/O and cranked up pagefile to 16GB. But just for my understanding, isn't decoding only for the preview?

I do not think VEGAS is changing GPU during the render.

--- I know my theory sounds strange. It is based on the memory usage graph in task manager.

There is a sudden change in the workload of the GPUs. Exactly at that time the rendering fps drops to like 1.4fps and the memory usage of Vegas encreasing all thy way up, until crashes at 17-18GB.

The GPU acceleration is set to Nvidia:

So I am confused. :)

 

RogerS wrote on 12/31/2023, 2:52 PM

Please try the projects in my signature as it seems like something with this project or media is triggering a memory leak. If even these projects don't work there's something wrong with the VEGAS install or system.

Also consider testing your GPU in 3DMark (free) to ensure it is generally stable.

Last changed by RogerS on 12/31/2023, 2:54 PM, changed a total of 1 times.

Custom PC (2022) Intel i5-13600K with UHD 770 iGPU with latest driver, MSI z690 Tomahawk motherboard, 64GB Corsair DDR5 5200 ram, NVIDIA 2080 Super (8GB) with latest studio driver, 2TB Hynix P41 SSD and 2TB Samsung 980 Pro cache drive, Windows 11 Pro 64 bit https://pcpartpicker.com/b/rZ9NnQ

ASUS Zenbook Pro 14 Intel i9-13900H with Intel graphics iGPU with latest ASUS driver, NVIDIA 4060 (8GB) with latest studio driver, 48GB system ram, Windows 11 Home, 1TB Samsung SSD.

VEGAS Pro 21.208
VEGAS Pro 22.239

Try the
VEGAS 4K "sample project" benchmark (works with VP 16+): https://forms.gle/ypyrrbUghEiaf2aC7
VEGAS Pro 20 "Ad" benchmark (works with VP 20+): https://forms.gle/eErJTR87K2bbJc4Q7

bvideo wrote on 12/31/2023, 4:13 PM

I wonder if limiting your pagefile to 8 gig is a problem? Is there a special reason you want to limit it?

If Windows has some reason to assign pagefile space to parts of your program data, it may run out of page space. Unfortunately, Microsoft does not give specific advice about that. But at least one MS article suggests modified memory is assigned to pagefile space, even though it may not ever actually be written there.

Attila-Cseh wrote on 1/1/2024, 7:24 AM

Please try the projects in my signature :

--- I could render both of your projects.

Also consider testing your GPU in 3DMark (free) to ensure it is generally stable.

--- I ran 3D Mark. Results seem to be OK.

Well, as you said it might be something with this project to cause memory leaking.

Since project needs to be done, I decided to build it from scracth, which is pain in my neck.

Of course it won't be the same and hoping not to show any error.

I'll let you know about the result. :)

.... and of course HAPPY NEW YEAR to all of you, in this thread!

Attila-Cseh wrote on 1/1/2024, 7:30 AM

I wonder if limiting your pagefile to 8 gig is a problem? Is there a special reason you want to limit it?

--- Actually I wrote and set 16GB. Windows was suggesting 5GB pagefile, so I multiplied it to show Vegas that it has got planty of memory to use, if it wants. :) Just to give it a try.

bvideo wrote on 1/1/2024, 11:32 AM

Just FYI: my system has 32 gigs of RAM and the Windows setting dialog says the recommended pagefile size is 4.9 gigs. However, I let Windows manage the page file size and it is 37 gigs. I told Windows to use two different drives, and it assigned 32 gigs to one drive and 5 gigs to the other. This arithmetic is opaque.

RogerS wrote on 1/1/2024, 6:40 PM

Please try the projects in my signature :

--- I could render both of your projects.

Also consider testing your GPU in 3DMark (free) to ensure it is generally stable.

--- I ran 3D Mark. Results seem to be OK.

Well, as you said it might be something with this project to cause memory leaking.

Since project needs to be done, I decided to build it from scracth, which is pain in my neck.

Of course it won't be the same and hoping not to show any error.

I'll let you know about the result. :)

.... and of course HAPPY NEW YEAR to all of you, in this thread!

Thanks for doing the test and glad that worked as it narrows down issues to this project.

I'd be willing to privately test out your project and media if you still have issues and want help 10 days from now when I return home.

Attila-Cseh wrote on 1/2/2024, 8:59 AM
 

I'd be willing to privately test out your project and media if you still have issues and want help 10 days from now when I return home.

It is very nice of you RogerS, thank you! However it would be difficult to transfer you everything. 18 pieces of 2.7K files were on timeline trimmed into a 30seconds promotional video.

But because of you were so kind to offer your private help, in return I will send you a Youtube link of the rendered project. 😃 How can I do that?

Attila-Cseh wrote on 1/2/2024, 9:05 AM

Just FYI: my system has 32 gigs of RAM and the Windows setting dialog says the recommended pagefile size is 4.9 gigs. However, I let Windows manage the page file size and it is 37 gigs. I told Windows to use two different drives, and it assigned 32 gigs to one drive and 5 gigs to the other. This arithmetic is opaque.

Thank you that was useful information. I let Windows handle my pagefila again.

Otherwise an other reason I set min and max to the same value is, not to let pagefile fragment my partition. Not to have a fragmented pagefile as it is always changing in size.