Too high RAM allocation

PolakPL2002 wrote on 3/14/2020, 12:40 PM

TLDR; Vegas is using 560GB of RAM/swap

Hi, I'm trying to make a video in Sony Vegas 15 (build 416), but it's impossible, because Vegas is allocating hundreds of GB of RAM. Only way I could import all of my source material to project media without crashing OS was to manually increase swap size to around 600 GB. After loading project with media only in Project Media (not on timeline) Vegas is using 560GB of memory (all of which is either in RAM or swap). I've "only" 32 GB of RAM so Windows is constantly moving data to and from swap, which renders software pretty unusable. I've tried to download trial of Vegas Pro 17 and open project there to see whether that would help, but I couldn't even open project, because 17 filled swap even faster than 15 and ran out of memory.

Source material:
~500 photos/videos (about 150GB in total), HEIC/HEVC encoded, most 4k@60fps, some 1080p@240fps

Device information:

Windows computer with:
- Windows 10 Pro 1909, 64-Bit
- AMD Ryzen 9 3900X 12-Core Processor
- 32700 MB RAM
- GTX 1080Ti (Driver: 442.50)

Does anybody know what may couse this problem, because it's the first time I have such problems while editing in Vegas?
Thanks in advance.

Edit. Added more system info.

Comments

fifonik wrote on 3/14/2020, 7:18 PM

~500 photos/videos (about 150GB in total),

What are the photos size/filesize? You could try batch resize them if they are too big.

Last changed by fifonik on 3/14/2020, 7:20 PM, changed a total of 1 times.

Camcorder: Panasonic X1500 + DJI OSMO Action 6

Desktop: MB: MSI B650M Gaming Plus WIFI, CPU: AMD Ryzen 9700X, RAM: G'Skill 64 GB DDR5@6000, Graphics card: XFX RX-7900 XTX 24GB, SSD: Seagate FireCuda 530R2 (NVMe, OS), Samsung 970 Evo+ 1TB (NVMe, source footage), 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

PolakPL2002 wrote on 3/15/2020, 4:45 AM

What are the photos size/filesize? You could try batch resize them if they are too big.

Photos: 4032x3024px, 403MB in total
Videos: most 4K@60fps, some 1080p@240fps, 149GB in total

matthias-krutz wrote on 3/15/2020, 9:28 AM

In VP15 there was a problem with thumbnails in the Vegas Explorer window. If thumbnails are displayed in a folder with JPGs, the memory usage increases very quickly. The memory is not released until Vegas is closed. This problem no longer occurs from VP16 or when the Vegas-Explorer window is not used. This may be a cause of skyrocked memory usage.

Desktop: Ryzen R7 2700, RAM 32 GB, X470 Aorus Ultra Gaming, Radeon RX 5700 8GB, Win10 2004

Laptop: T420, W10, i5-2520M 4GB, SSD, HD Graphics 3000

VEGAS Pro 14-18, Movie Studio 12 Platinum, Vegasaur, HOS, HitfilmPro

michael-harrison wrote on 3/15/2020, 11:21 AM

What are the photos size/filesize? You could try batch resize them if they are too big.

Photos: 4032x3024px, 403MB in total
Videos: most 4K@60fps, some 1080p@240fps, 149GB in total

The in-memory size of those images is going to be much much greater than their file size.

+1 for the batch resize before import. irfanview is a decent tool for that.

System 1:

Windows 10
i9-10850K 10 Core
128.0G RAM
Nvidia RTX 3060 Studio driver [most likely latest]
Resolution        3840 x 2160 x 60 hertz
Video Memory 12G GDDR5

 

System 2:

Lenovo Yoga 720
Core i7-7700 2.8Ghz quad core, 8 logical
16G ram
Intel HD 630 gpu 1G vram
Nvidia GTX 1050 gpu 2G vram