Vegas Pro 17, using all my memory and sticking around.

OhHowOriginal wrote on 10/9/2020, 10:28 AM

Hello, new to the forum but having issues with my Vegas which nobody else seems to be able to figure out and someone recommended here.

Firstly, my computer specs are Win10 Pro, Ryzen 5 3600, MSI B450 Gaming Pro carbon, Kingston 1tb NVME SSD, Gigabyte 1660 super, 32gb ddr 3200mhz ram.

My issue seems to be as follows, when I am using a Bezier mask tracking and Gaussian blur to blur out a small moving object in my video, my ram maxes out, if I do very short clips at a time, it will just get up to around 30-31gb, but any longer than about 15 seconds and it maxes out and shuts down... If I do a short clip and then close the FX window, the ram stays right up and won't drop until I close Vegas right down, so I can't really do anything else without restarting it after every clip.

Interestingly, when I open Task Manager, it shows that I am using under 2500mb of my ram, but it registers as much much higher.

The PC is less than four months old and runs flawlessly in every other way, so I can only put this down to a fault with Vegas, although I might be wrong.

Below is a couple of screenshots of a test I did today, note the reason for the random flatlines is the tracking kept losing it's place and the reason it isn't maxed out is because it was just a short clip to get the screenshots.

Very strange one in my opinion, never had any issues before like this when rendering etc... Most of my footage is 2.7k 60fps, but even if I use 720p 30fps, it still does the same, I tested this also for comparison.

That being said, it doesn't get worse if I use 4k 60fps either.

I'd really appreciate some help with this, because I really need to be able to use this feature, it's the main thing I use on Vegas.

If I have missed off any information, just let me know and I'll put it up.

 

https://i.imgur.com/iG9aKfu.jpg

 

https://i.imgur.com/IZeZqGN.jpg

Comments

j-v wrote on 10/9/2020, 10:58 AM

What is your setting for Dynynic RAM Preview Max at Options/Preferences/Video and how often do you use that option?

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

OhHowOriginal wrote on 10/9/2020, 11:03 AM

What is your setting for Dynynic RAM Preview Max at Options/Preferences/Video and how often do you use that option?

Hi, currently set at 200, that's not something I have ever changed, never had this issue before.

j-v wrote on 10/9/2020, 11:06 AM

If you never use Dynamic Ram preview try the tip of the Vegas management for me to set it to 0 and try again.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

RogerS wrote on 10/10/2020, 1:21 AM

Weren't you also having issues with multiple instances of Vegas consuming all ram until they crash? Did you confirm this memory issue happens when only one instance is running?

Can you share media info for the exact types of clips you are masking?

Former user wrote on 10/10/2020, 3:16 AM

To check if it's the VegasPro memory leak fault, turn GPU processing OFF, and do the same actions. It will likely be much slower, but see if still uses all your memory and doesn't release it. This isn't a solution, but will identify if it's a software fault that happens with the external gpu

OhHowOriginal wrote on 10/10/2020, 11:18 AM

Okay so, setting the Dynamic RAM preview to 0 unfortunately didn't seem to work.

 

Yes, I'm the same person it was crashing for, I realised the reason for the crashes was maxing out the ram, I noticed this when YouTube closed down first, then took Vegas along with it, then tried without Chrome/YouTube open and it still does it.

The specific files don't seem to make any difference, I've tried 4k 60fps, 2.7k 60fps (my usual file choice) and as low as 720p 30fps.

The specific file for the above screenshots was 2.7k 60fps, I think it was about 20 seconds I chopped off the main file, it's an MP4 file, if theirs any other specifics you need, just ask, I'm not entirely sure what all you want to know about the files.

 

Already got GPU acceleration turned off (if that's what you are meaning by GPU processing) if not, then please explain where that option is so I can try.

I also did try it with GPU acceleration turned on and it just makes my video preview a black screen after a few seconds, which I read online is a common fault with Vegas, so I've had it turned off ever since.

RogerS wrote on 10/10/2020, 7:39 PM

Can you use MediaInfo (free app) or properties in the MPC player to say exactly what the files are? 2.7K 60 sounds like a GoPro or DJI file?

Do you have any regular AVC (h.264) videos from a camera you can try just to rule out whether it's media related or not?

Is legacy AVC decoding checked?

We've got to limit the variables here to have any hope of figuring out where the fault lies. That your video preview has been a black screen is also alarming- something is very wrong.

For what info we need, see here: https://www.vegascreativesoftware.info/us/forum/important-information-required-to-help-you--110457/

OhHowOriginal wrote on 10/11/2020, 6:20 AM

Thanks for the reply, so to add, the files are from a GoPro Hero8 Black, GoPro Hero4 Silver and GoPro Hero Session.

Files from my Nikon DSLRs do the exact same thing and files from my DJI drones also do.

I honestly don't think it's the files, purely based on the fact it's every file, oh also including my Samsung Galaxy A6.

Using MediaInfo, I gathered the below screenshots, I hope this is all the information you need?

 

https://i.imgur.com/BUL93em.jpg

 

https://i.imgur.com/50DIQrh.jpg

 

https://i.imgur.com/aRVWSHI.jpg

RogerS wrote on 10/11/2020, 7:04 AM

Thank you. (You can upload images directly to the forum as well using the "upload file" icon).

Are you on the latest NVIDIA Studio Drivers? Under Vegas there is a driver update tool, or you can use GeForce Experience or the NVIDIA website. Don't download the gaming driver.

Then, can you just do a test on a clean project only using the Nikon DSLR footage? Enable GPU, file I/O = auto, do not enable legacy AVC decoding. Reset Vegas, then reset the PC so we are sure there is only once instance running. Do Bezier masking and keep an eye on ram usage.

If it fails that test, turn GPU preview off and try again.

If it passes, try one of your GoPro or DJI. Right now you have too many variables. Is it the file type? A file type + legacy decoder combination? Something else wrong causing multiple instances of Vegas that are eating away at your memory?

OhHowOriginal wrote on 10/11/2020, 2:09 PM

So, a little update, thank you for continuing to reply and trying to help me.

From the above, the driver was already up to date but I did do another update just to be safe.

Turned off GPU acceleration and the screen still goes black.

Turned GPU back on and the screen doesn't go black but my RAM is still maxing out.

Followed exactly what you said above, except I used GoPro footage first, simply because it's easier accessible to me on my main SSD, I have all my DSLR stuff backed up on an external HDD.

Tried DJI footage with the same result.

It's also still hanging onto my ram usage until I fully close Vegas down.

j-v wrote on 10/11/2020, 2:52 PM

First of all, if you want more possible solutions to your problem use the button on the top of you answer to show video, screenshot and all other adds to your questions or reactions.
What I find very strange are the amount of programs, app and files that are loaded in the Windows task management / applications.
Something is terribly wrong there but we don't know nothing about those Windows settings with you These are mine with a heavy 4K Vegas Project loaded

compared to yours

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

OhHowOriginal wrote on 10/11/2020, 3:10 PM

First of all, if you want more possible solutions to your problem use the button on the top of you answer to show video, screenshot and all other adds to your questions or reactions.
What I find very strange are the amount of programs, app and files that are loaded in the Windows task management / applications.
Something is terribly wrong there but we don't know nothing about those Windows settings with you These are mine with a heavy 4K Vegas Project loaded

compared to yours

 

Mine looks different to yours because somebody asked me to sort the programs by memory to see what was taking up so much.

I actually have less open than you.

I have 3 apps and 42 processes.

RogerS wrote on 10/11/2020, 9:06 PM

Just to circle back, could you just try first with known good DSLR AVC files? DJI and GoPro are known to cause some problems. Here's a short clip (50MB) from me to play with. If it's too short I can supply something else. I am using VP 18 334 with the GTX 1050 (4GB) and an Intel iGPU.

Let's start with Vegas 18 on its default settings- GPU acceleration on, File I/O to default. Default decoders. Just test the masking, black screen, and memory use.

Last changed by RogerS on 10/12/2020, 9:10 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

RogerS wrote on 10/11/2020, 9:07 PM

If it fails this test, hold down control and shift while starting Vegas to reset it to default.

OhHowOriginal wrote on 10/12/2020, 1:46 PM

Thanks for supplying the clip but yeah 4 seconds is a little short.

I will have to go through my hard drives to find something 20+ seconds to see what happens.

But at the moment I am back to work and doing 14 hour days, so it might take me a few days to get it tried and report back.

RogerS wrote on 10/12/2020, 9:10 PM

Here's an action video I shot recently that is longer. It's Sony AVC 4K 24p. Feel free to mask the critters to your heart's content and let me know how it works. Even upload the project and I can test it here, too.

Take your time- just tag me when you get back so I don't miss it.
 

OhHowOriginal wrote on 10/24/2020, 2:58 PM

Here's an action video I shot recently that is longer. It's Sony AVC 4K 24p. Feel free to mask the critters to your heart's content and let me know how it works. Even upload the project and I can test it here, too.

Take your time- just tag me when you get back so I don't miss it.
 

 

Hi Roger, apologies it's taken me longer than expected.

Just tested with your footage, it's doing exactly the same thing unfortunately.

RogerS wrote on 10/25/2020, 6:00 AM

Can you share the project file of the crabs so I can test too? If you upload, tag me so I see it. (Type @)

OhHowOriginal wrote on 10/25/2020, 10:51 AM

@RogerS - here you go - https://www.4shared.com/file/QNLft4cMea/Test_for_RogerS.html?

 

The first half of it I have done my blur as I normally would do, the second half I have left blank for you to test.

It might be that I am doing something wrong, but I don't think so.

RogerS wrote on 10/26/2020, 12:49 AM

@OhHowOriginal I couldn't find a way to download that without creating an account, and the site seems questionable enough that I don't want to give it an email. Could you upload to Dropbox here?

Last changed by RogerS on 10/26/2020, 7:08 AM, 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

OhHowOriginal wrote on 10/26/2020, 6:11 AM

@OhHowOriginal I couldn't find a way to download that without creating an account, and the site seems questionable enough that I don't want to give it an email. Could you upload to Dropbox here? link

 

I've been using 4shared for about 15 years, but always had an account so never actually realised it was required.

I've uploaded to the link you sent.

RogerS wrote on 10/26/2020, 7:08 AM

Thanks, got it.

RogerS wrote on 10/26/2020, 8:06 AM

I experimented with this project. How do you get a memory leak? Just playing the masked clip doesn't increase my ram usage beyond 1GB or so (11 to 12; I have 32GB available.) I also tried opening the Fx tab and playing the masked clip but no change.

Then I took the clip on the right. I went into motion tracking and had it do a perspective/accurate track for one crab. It took ~2 min. to generate tracking data which I applied to a bezier mask and then added a gaussian blur effect in the Fx chain.

I think you did it a different way as you have multiple tracking effects and I see detailed "chevrons" of tracking data on yours but not on mine. I haven't used tracking much before. It basically seems to work though- one of the crab shells is blurry.

I also added a LUT and Graide color curves to see if it would stress the system more but ram stayed the same.

I then rendered it out to Magix AVC (CPU only). Ram usage went up to 13GB with Vegas using 3GB.
I did a second render with NVENC (on my 1050 4GB card). Ram still at 3GB for Vegas and it rendered quickly and without issue.

Let me know if I should be doing something differently to generate the error/memory leak.

Edit: all my testing was with VP 18. I didn't use 17 as that seems to work for you.

Last changed by RogerS on 10/26/2020, 8:06 AM, 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

OhHowOriginal wrote on 10/26/2020, 12:40 PM

@RogerS - so, when playing it back it's fine, my memory problem is during the tracking process, when it's actually doing the tracking itself and producing all the individual images onto the video.

Playback is fine.

17 doesn't work for me, sorry if there was some confusion above with that, but neither of them works for me.

Rendering is also absolutely fine, no issues with rendering, my only issue and my memory spike is purely when the tracking is actually happening.

Apologies I'm not sure what chevrons are, but I apply both the Bezier mask and the Gaussian blur at the same time, that's just how I followed it in a tutorial ages ago.

So I just tried it the same way as you said you did it above and still the same issue.

I must have a defective copy of Vegas, or something went wrong during install.

Photoshop, Lightroom and such all work fine, so I don't think it's a problem with my computer.