Vegas Pro 20 and BCC Particle Illusion

Reyfox wrote on 7/26/2023, 6:55 AM

I have a 4:35 movie on the timeline. VP20 B411's RAM usage is 2,094MB.

Dragging BCC Particle Illusion onto a 24 second clip on the timeline, then within the Video Event FX>PI, I select FX Browser. Vegas RAM used is now 9.3GB. I click "Cancel" in the PI window and am back that the Video Event FX window.

Within the Video Event FX window, clicking on the little red "fx" (Remove selected plug-in), BCC Particle Illusion is removed, but Vegas holds onto a lot of that RAM that was used when adding PI to the video clip. It is at 9GB right now. This happens all the plugins in BCC Particles in Continuum Complete 2023.5.

Exiting Vegas and restarting, sometimes it won't fully load up and stalls while loading because Vegas is still there holding onto the RAM in Task Manager.

I tested using the same procedure in Resolve 18 Studio to see if it was a Boris problem or a Vegas problem. In Resolve, it released the Boris RAM when it was canceled or deleted from a clip in the Inspector.

@Former user can you confirm this with?

 

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

Comments

Googly-Smythe wrote on 7/26/2023, 10:14 AM

I can confirm this.

Using a 15 minute recording of me playing Tomb Raider (!) which is 2560 x 1440 60fps, with the PI plugin added to a clip and a random preset selected, total RAM usage went to around 42,000 MBytes, yes, 42,000 MBytes and still rising, at which point I closed the project and quit VEGAS. Removing all the FX before quitting made no difference.

However, when VEGAS did quit it released the RAM after about 45 seconds.

Particle Illusion isn't a plugin that I use much, the last time I used PI was about 2 years ago, never had this problem then. Also, no other problems with the other Continuum FX that I do use, (mostly from the Film Style unit and the Transitions.

(i9 12900K, AMD 6700XT, 64 GBytes RAM, Win 10, everything up to date/latest versions)

Last changed by Googly-Smythe on 7/26/2023, 10:15 AM, changed a total of 1 times.

A 100% amateur, making ham-fisted music with my guitar since 1969, soon after seeing Pink Floyd at the Festival Hall, the Albert Hall and the Fairfild Halls.

My main software is Cubase, but I use VEGAS to make videos to post on BitChute and, rarely, on Youtube.

My first computer was an Atari STE 1040, because it could run Cubase and had built-in MIDI ports.

Currently using an i9 12900/Radeon 6700XT machine, 64 gigs RAM, 2 x 32" 1440p monitors, Win 10, VEGAS 20.

Former user wrote on 7/26/2023, 11:28 AM

@Reyfox Hi, will do when home 👍 @Googly-Smythe Try a PI emitter starting with Hex, that properly adds up the RAM 😂

Reyfox wrote on 7/26/2023, 1:37 PM

Thanks @Googly-Smythe for confirming this. Like you, I have no problem with other BorisFX plugins that I have used. I had a need to do something in Particle Illusion and ran into this problem.

@Former user thanks buddy! I look forward to your results.

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

Former user wrote on 7/26/2023, 2:17 PM

@Reyfox This link is about the Hex emitter but Alan sounds interested in any info https://forum.borisfx.com/t/memory-issue-with-pi-emitter-help-cant-launch-now/16838

I'll play with PI later 👍

Reyfox wrote on 7/26/2023, 2:51 PM

@Former user, thanks. I sent in the issue with Boris support. The RAM increased in both VP and DR about the same.

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

Former user wrote on 7/26/2023, 4:42 PM

@Reyfox Hi, I'll have more of a play with this.

I added PI to a 10sec UHD MP4, FX Browser playing the vid got up to about 72GB when i stopped play, it was slow & i'm impatient. I thought that was enough to see if Vegas held on to it.

Closing FX Browser most went away but 25 is higher than it should be,

Closing PI, then also closing Vegas it was still at 24

I have an app that cleans RAM & tried this a few times but i don't think that app was the reason a few seconds later it dropped to it's more regular 13GB, when the PC isn't doing anything (Apps & windows are open but nothings visually happening) this is it resting n waiting

So Vegas was holding onto about 10GB until something released it after closing.

Former user wrote on 7/26/2023, 5:15 PM

Just a quick test with PI app itself,

Same 10sec clip, 2 emitters not doing much, loop playing the RAM slowly went up peaking at 157GB 😂🤸‍♂️

Closing PI back in Vegas the RAM immediately dropped to 16GB, that's a very normal no' when a few things are 'awake' but not doing anything, closing PI didn't make it drop lower.

Closing Vegas took RAM back to 13GB, rebooting Vegas with nothing on it yet took RAM up to 14GB,

Adding the video, loop play it few times RAM went up to 16GB,

Reyfox wrote on 7/27/2023, 6:24 AM

Thanks @Former user for the testing. It seems that Vegas doesn't release the RAM if you decide to delete the effect. And for me, with my lowly 32GB of RAM computer, PI can eat up a lot of it no matter which editor I am using.

I tried other Boris plugins and they seem to work ok, and if I delete them, RAM gets back to normal. So far, it's just Particle Illusion and others in that folder that have the problem.

Right now for me, Boris Title Studio doesn't work with the current AMD drivers, so I haven't tested that yet. I received a message from Boris that in the next patch, it should be working with AMD. I will see.

@VEGASDerek, maybe you can shed some light on this?

 

Last changed by Reyfox on 7/27/2023, 6:25 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

Former user wrote on 10/22/2023, 2:39 PM

@Reyfox @VEGASDerek This wasn't after using Particle illusion, it was after some basic Vegas effects & Dynamic RAM previews.

Reyfox wrote on 10/22/2023, 5:14 PM

@Former user so you are a Whovian too? Side note... I handled and put into position the original K9 at Dr Who event in NYC decades ago. PBS, which handled the event, the lead person asked me to come and help because I was the only person they knew who watched the show.

As for your RAM usage, curious as to what were the Vegas events and how much RAM did you allocate to for Dynamic RAM?

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

Former user wrote on 10/22/2023, 5:39 PM

@Reyfox K9, it's in the modern Dr Who a few times but it always takes me back to Baker, Pertwee was my first Dr & when Davison became Dr I stopped watching, it was prob an age thing, 1981 I was 13 & out n about hanging around on street corners but I mostly stopped watching because Davidson was a vet, Tristan Farnan, becoming the Dr wasn't right 😒

Sorry I can't remember the exact effects I was playing with, but I've played with the Boris stuff so much I've neglected the Vegas effects, so I've been going through & seeing what I've missed, I just thought I'd update this because PI hasn't been opened for a few wks, & I regularly see Vegas holding onto RAM even though it's doing nothing, only closing it clears the RAM.

Reyfox wrote on 10/22/2023, 6:02 PM

@Former user I think I am a little older than you. In 1981, I was 29. Back in the 60/70's I watched a lot of British tv. Emma Peel.. wow! The Prisoner, Dr Who, Benny Hill, The Saint, Monty Python, etc..

I've been working on projects in 4K using Vegas built in effects and some Boris, and so far, surprisingly, VP21 Post seems to be handling RAM much better than VP20. But I haven't tried PI yet, or just as RAM intensive, Boris Title Studio.

Probably tomorrow out of curiosity.

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

Former user wrote on 10/22/2023, 9:02 PM

@Reyfox @VEGASDerek This wasn't after using Particle illusion, it was after some basic Vegas effects & Dynamic RAM previews.

@Former user Check if it's only shared GPU memory is filling up, or if infact it has nothing to do with shared GPU memory. In this test after shared GPU memory is filled, the memory leaking stops. It's still bad though, windows becomes more unstable even though there technically is some ram left to use. Nvidia GPU's need to use a combination of Vram/system ram but only system ram from shared GPU memory.

 

Former user wrote on 10/23/2023, 3:32 AM

@Reyfox  I remember all of those 😁

Thought I'd play with PI this morning,

All these have Dynamic RAM Preview even the 1.55min vid at the bottom. I have it set at 50% in preferences, I've found setting it this high allows large Dynamic RAM Previews to be set & has very little effect on Vegas's performance, I do have 256GB to play with tho.

This is a big pic with falling stars, a Mocha mask over the woman & two down either side to stop the stars going over onto the black bars, Good (Full) very little Memory used

Reducing it to Good (Half) lowered the Memory

This a ProRes .mov, same again very little memory increase.

This is a Constant UHD 30p AVC MP4, building Dynamic RAM of the full clip increased memory to 50%

Removing the project the memory sat at 50%, very slowly going down to 31% as i made a drink

Closing Vegas cleared RAM. @Former user I put it on GPU to show Shared memory

Former user wrote on 10/23/2023, 5:07 AM

Opened Vegas, loaded that MP4, applied the same PI preset I'd created for the pics above & left it for about 50mins loop playing while i went shopping, No Dynamic RAM Preview applied.

It never reached full fps playback & this is the RAM. It started at about 20-25GB & rose to 125GB.

Closing the project didn't decrease the RAM (I didn't wait long to see if it went down)

Closing Vegas cleared it.

🤷‍♂️

Reyfox wrote on 10/23/2023, 5:52 AM

@Former user, the same for me when closing a project. The RAM remains. The only way to free it up again is by exiting Vegas.

I'm working on a project that is 4K 50P and 20MP images. So far, it's about 5 minutes long. Keyframing, Boris Film Stocks, SeMW, color grading, Vegas Text and Titles, and Smartsound music. Vegas is using 2.6GB of RAM. If I add Particle Illusion, RAM jumps to 23GB as it loads. Once I select a particle and go back to the timeline, RAM is about 15GB. I picked a random particle, did nothing to it, applied it to a still image that is 5 seconds long.

I delete the PI effect, and RAM remains at 15GB. Select File>Close, and it's still at 15GB. As you've mentioned, the only way to free the RAM is by exiting Vegas.

I don't have the luxury of even 64GB of RAM, and don't plan on investing in it on my "old" computer since it's DDR4.

Dynamic RAM is set to 5% or 1634MB. If I have to see an effect, I'll use HOS or Vegasaur to do a preview.... or even rendering that section in the final render settings.

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

Former user wrote on 10/24/2023, 8:42 AM

@Reyfox Just an observation, I was playing with the basic emitter for a while not thinking about RAM but had a look before closing PI, 157GB but drops quickly as PI is closed. 🤷‍♂️

Reyfox wrote on 10/24/2023, 9:21 AM

Makes me wonder why so much RAM is being used by some of the Boris plugins. I can see PI loading up all those emitters might cause an increase in RAM, but 157GB of usage? WOW!!

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

Former user wrote on 10/25/2023, 1:42 PM

@Reyfox Reached a high i've not seen for a while, lots of small particles emitted from type on text,+ Dynamic RAM preview. 😮😂

Reyfox wrote on 10/25/2023, 3:10 PM

@Former user, too rich for me. Maybe have 1TB of RAM next build? But I am sure there are studios that have hyper computer builds just for times like PI.

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

Former user wrote on 10/25/2023, 3:16 PM

@Reyfox Yep I got 256GB to be used & if a program wants to use it then fine, that's what it's there for, but I closed everything but a couple of folders & RAM was still 195GB, I've got a RAM cleaner app that got rid of it,,

Reyfox wrote on 10/25/2023, 3:24 PM

@Former user what happens if you run that RAM cleaner app while Vegas is open? Like when you add a Boris PI, then decide to delete the effect, a lot of the RAM is still tied up and not being used.

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

RedRob-CandlelightProdctns wrote on 11/30/2023, 10:09 PM

Just to chime in...

Just installed the latest Continuum and PI 2024.. I can't even launch PI and V21 with my 32GB RAM without it hanging things up and I have to kill PI.


FYI -- to remove Vegas from the equation I ran PI standalone and yeah.. memory spikes right up.

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

 

 

Reyfox wrote on 12/1/2023, 5:22 AM

@RedRob-CandlelightProdctns, just opening the standalone version of PI, it consumed 11GB of RAM. Maybe loading all those presets included? I don't know. But I can use it with Vegas on my 32GB computer. It's not a "first choice" though sadly...

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