100% Memory (16GB) and 99% CPU Just for Inputting Clips

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

markr041

  • Posts: 84
  • Joined: Fri Nov 29, 2013 3:42 am

100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostWed May 26, 2021 5:50 pm

I am trying to edit Canon R5 8K All-I files. Just adding the clips in the Media Tab uses up all my memory. Once they are all incorporated (it takes a long while with all memory taken up) and I go to the Edit tab, just placing one clip on the timeline again uses up 100% of memory and 85% CPU and that may last for 30 seconds. The timeline resolution is set to to 1080p. I am not (yet) color correcting or rendering - this is simply adding clips and placing them on the timeline. The computer comes to a stop, I cannot move the cursor until the memory use recedes after a while. Then I move the next clip and again, 100% memory for at least 30 seconds of frozen.

What is going on? I have not had this problem with any other sets of clips (Sony All-I, cng RAW, BRAW).
Last edited by markr041 on Wed May 26, 2021 6:35 pm, edited 1 time in total.
Mark Rosenzweig
Offline
User avatar

waltervolpatto

  • Posts: 11329
  • Joined: Thu Feb 07, 2013 5:07 pm
  • Location: Pictureshop 6040 Sunset Blvd, Hollywood, CA 90028

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostWed May 26, 2021 5:52 pm

is that 8K file a h264 type of file?
W10-19043.1645- Supermicro MB C9X299-PGF - RAM 128GB CPU i9-10980XE 16c 4.3GHz (Oc) Water cooled - 12x8TB SSD RAID5 internal (80TB)
PSU RM1200x SHIFT 80 PLUS - Decklink Studio 4K (12.4.1)
Resolve 20.0.0 / fusion studio 19
GPU 3090ti drivers 576.80
Offline

markr041

  • Posts: 84
  • Joined: Fri Nov 29, 2013 3:42 am

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostWed May 26, 2021 6:35 pm

waltervolpatto wrote:is that 8K file a h264 type of file?


H265 but All-I.
Mark Rosenzweig
Offline
User avatar

gtempleman

  • Posts: 263
  • Joined: Sat Jul 27, 2019 3:07 pm
  • Real Name: Gary Templeman

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostWed May 26, 2021 6:50 pm

It would help if you post more complete computer specs, not just the RAM, but also processor, GPU and driver, whether the media is on an external drive or a different internal drive (and whether SSD or HDD), free space available on the OS and storage drives.
Microsoft Windows 11 Pro x64
Version 23H2 build 22631.3527
MSI MS-7E07 Motherboard
Intel i5-13600K
64GB DDR5 RAM
ASUS GeForce RTX 4070 12 GB
Driver version 572.16
Resolve (Studio) 19.1.3
Offline

markr041

  • Posts: 84
  • Joined: Fri Nov 29, 2013 3:42 am

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostWed May 26, 2021 7:13 pm

gtempleman wrote:It would help if you post more complete computer specs, not just the RAM, but also processor, GPU and driver, whether the media is on an external drive or a different internal drive (and whether SSD or HDD), free space available on the OS and storage drives.


i7 10th generation, Nvidia GTX 1660 Ti, media on an external SSD, internal drive is SSD.

230GB free on OS, 336GB free on external SSD with the clips.

Note: Just going from one tab to another locks up the computer ar 100% RAM and 100% CPU for minutes, then both decrease. I actually can render fine and color grade, but even moving the horizontal slider will fill the RAM and CPU for a minute or so.
Mark Rosenzweig
Offline
User avatar

Uli Plank

  • Posts: 25484
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostThu May 27, 2021 1:53 am

Get a better GPU (if you can find one) or shoot 4K. A 1660 is barely enough for 4K and 8K is 4 times the amount of data!
My disaster protection: export a .drp file to a physically separated storage regularly.
Please visit digitalproduction.com/author/uliplank/

Studio 19.1.3
2017 iMac, MacOS 13.7.4, eGPU
MacBook M1 Pro and M4 Pro mini, MacOS 14.7.5
SE, USM G3
Offline
User avatar

Jack Fairley

  • Posts: 1863
  • Joined: Mon Oct 03, 2016 7:58 pm
  • Location: Los Angeles

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostThu May 27, 2021 1:57 am

Sounds like your 8K H265 media is not being accelerated by hardware decode, and that just isn't going to happen on your CPU. Can you give a sample clip?
Ryzen 5800X3D
32GB DDR4-3600
RTX 3090
DeckLink 4K Extreme 12G
Resolve Studio 17.4.1
Windows 11 Pro 21H2
Offline
User avatar

Uli Plank

  • Posts: 25484
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostThu May 27, 2021 2:58 am

Only very recent GPUs support that format. If you post a sample, I can tell you if a M1 does.
My disaster protection: export a .drp file to a physically separated storage regularly.
Please visit digitalproduction.com/author/uliplank/

Studio 19.1.3
2017 iMac, MacOS 13.7.4, eGPU
MacBook M1 Pro and M4 Pro mini, MacOS 14.7.5
SE, USM G3
Offline
User avatar

Sean Nelson

  • Posts: 893
  • Joined: Sun Feb 07, 2021 9:48 pm
  • Location: Vancouver, Canada
  • Real Name: Sean Nelson

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostThu May 27, 2021 5:53 am

Blackmagic states that a minimum of 16GB is required for Windows, but that's a bare minimum and I'm pretty skeptical that this amount of RAM would be sufficient for 8K media. Each frame of an 8K clip takes 16 X more memory than an HD clip. It's my observation that people don't really appreciate how much more stress 4K puts on a system than HD, let alone 8K.
DR Studio 19.1.4 Build 11, Win10Pro x64 22H2/19045.5608
Asus C246 Pro Motherboard, Xeon E-2278G@3.4GHz, 64GB ECC RAM
GeForce 3060 12GB, "Studio" driver 560.81
OS,Library: 1TB NVMe SSD - Project,Cache: 1TB NVMe SSD
Offline

Nick2021

  • Posts: 911
  • Joined: Thu May 13, 2021 3:19 am
  • Real Name: Nick Zentena

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostThu May 27, 2021 6:35 am

Uli Plank wrote:Only very recent GPUs support that format.


Worse than that. No standalone GPU supports it.
Offline

Jim Simon

  • Posts: 36143
  • Joined: Fri Dec 23, 2016 1:47 am

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostThu May 27, 2021 2:06 pm

markr041 wrote:I am trying to edit Canon R5 8K All-I files.
Create Proxies or Optimized Media as a first step before editing.

I'm partial to OM using Cineform at 1/4 resolution.
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

markr041

  • Posts: 84
  • Joined: Fri Nov 29, 2013 3:42 am

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostThu May 27, 2021 9:22 pm

Thank you for answering. But I am afraid that I was not clear as what what is going on, as none of the answers speak to the specific issue I am having. Let me try again.

First, I am not playing or decoding any clips when the RAM gets filled. This occurs simply by going from one tab to another - like from Edit to Color tabs. Second, the GPU is not being used at all for these "operations" - I can see exactly what resources are being used. Third, once RAM has emptied, which it always does after a while, and the CPU calms down I can actually play the clips as long as I set project properties so that the timeline is 1080 or 4K. Playing the clips or rendering the clips are not the problem.

The question is why is the CPU and RAM are being totally maxed out just to go from one tab to another? What operation is Resolve performing that depends on the resolution, or codec or bitrate of the clips?
Mark Rosenzweig
Offline
User avatar

Uli Plank

  • Posts: 25484
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostFri May 28, 2021 2:13 am

If your RAM gets filled, get more of it. There is no way around that if you insist on 8K. Since there is no hardware decoding for that format, your CPU will work very hard and ask for the RAM. The industry invented 8K to sell hardware. Who wants 8K will have to pay for it.

That camera can shoot excellent 4K/UHD in 422 and 10 bit. I bet you'll be better off shooting that, you got a nice middle-class machine that should handle it if you don't use very demanding effects. To work smoothly in 8K you'll need a high-end machine at the upper level of todays technology. But you may have difficulties finding the GPU you need.
My disaster protection: export a .drp file to a physically separated storage regularly.
Please visit digitalproduction.com/author/uliplank/

Studio 19.1.3
2017 iMac, MacOS 13.7.4, eGPU
MacBook M1 Pro and M4 Pro mini, MacOS 14.7.5
SE, USM G3
Offline
User avatar

Glenn Venghaus

  • Posts: 1358
  • Joined: Wed Jan 01, 2014 9:56 pm
  • Location: Amsterdam , The Netherlands

100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostFri May 28, 2021 5:57 am

Indeed you just need more ram.
What you describe sounds typicaly like any OS behaves when it needs more ram then physicaly available. Its starts to swap out to disk. That stalls your computer untill the opration is finished and you may or may not have temporary performance back.
I would never run resolve on anything less then 32gb unless i limit myself to HD source material (or HD proxies )
8k heavily compressed media (like h264/h265) on a 16gb machine is just not realistic. Not long ago 4k on such a machine was already insane but hardware decoding helped in that respect.
Beatstep & APC-40 Resolve Edition Controllers https://posttools.tachyon-consulting.com
Test Rig : 2xXeon (24c) | UNRAID KVM OSX VM's | 128GB | 5700XT | 40Gbe
Prod Rig : i9-7940X (14c) | OSX 10.15 | 64GB | 2xVega 56 | 40Gbe | Tb3 | V:Eizo | A:5.1RME
Offline
User avatar

Sean Nelson

  • Posts: 893
  • Joined: Sun Feb 07, 2021 9:48 pm
  • Location: Vancouver, Canada
  • Real Name: Sean Nelson

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostFri May 28, 2021 7:17 am

Glenn Venghaus wrote:8k heavily compressed media (like h264/h265) on a 16gb machine is just not realistic.
I think it's important to understand that when you're trying to process 8K footage the issue isn't really with whether the media is compressed or not. Yes, having to decompress is going to stress the CPU, but the OP's issue is running out of RAM. Even with compressed 8K footage, Resolve will still decompress it in order to work with it, and that means it's going to gobble up a ton of memory (about half a gigabyte per frame, since there are 32M pixels per frame and each pixel requires four 4-byte floating point numbers for the colour and alpha channels). That's why the system is gobbling up the RAM.

Even just dragging a clip onto the timeline means Resolve is going to have to decompress a slew of 8K frames just so that it can display the little thumbnails along the length of the clip. At half a gigabyte per frame, you can go through 16GB of RAM really quickly.

Using proxy media, preferably at HD resolution, is very likely the only way around this short of getting more memory.
DR Studio 19.1.4 Build 11, Win10Pro x64 22H2/19045.5608
Asus C246 Pro Motherboard, Xeon E-2278G@3.4GHz, 64GB ECC RAM
GeForce 3060 12GB, "Studio" driver 560.81
OS,Library: 1TB NVMe SSD - Project,Cache: 1TB NVMe SSD
Offline

Nick2021

  • Posts: 911
  • Joined: Thu May 13, 2021 3:19 am
  • Real Name: Nick Zentena

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostFri May 28, 2021 9:43 am

markr041 wrote:Second, the GPU is not being used at all for these "operations


No Nvidia GPU can handle those files. Decompressing them is totally on your CPU and RAM. Even if you bought the latest 3090 it wouldn't help.
Offline
User avatar

Uli Plank

  • Posts: 25484
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostFri May 28, 2021 10:45 am

If you post a short sample, I can try if the M1 understands it.
My disaster protection: export a .drp file to a physically separated storage regularly.
Please visit digitalproduction.com/author/uliplank/

Studio 19.1.3
2017 iMac, MacOS 13.7.4, eGPU
MacBook M1 Pro and M4 Pro mini, MacOS 14.7.5
SE, USM G3
Offline
User avatar

Glenn Venghaus

  • Posts: 1358
  • Joined: Wed Jan 01, 2014 9:56 pm
  • Location: Amsterdam , The Netherlands

100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostFri May 28, 2021 11:38 am

Sean Nelson wrote:
Glenn Venghaus wrote:8k heavily compressed media (like h264/h265) on a 16gb machine is just not realistic.
I think it's important to understand that when you're trying to process 8K footage the issue isn't really with whether the media is compressed or not. Yes, having to decompress is going to stress the CPU, but the OP's issue is running out of RAM. Even with compressed 8K footage, Resolve will still decompress it in order to work with it, and that means it's going to gobble up a ton of memory (about half a gigabyte per frame, since there are 32M pixels per frame and each pixel requires four 4-byte floating point numbers for the colour and alpha channels). That's why the system is gobbling up the RAM.

Even just dragging a clip onto the timeline means Resolve is going to have to decompress a slew of 8K frames just so that it can display the little thumbnails along the length of the clip. At half a gigabyte per frame, you can go through 16GB of RAM really quickly.

Using proxy media, preferably at HD resolution, is very likely the only way around this short of getting more memory.
Actualy both.
When the RAM is full the cpu will be fully occupied swapping memory in and out to disk , and if it at the same time is tasked to decompress frames, it grinds to a halt. That why after some time as described by OP he can actualy start playing back the 8k files. (when the swapping out settles)
So one is compounding the other. But of course memory as we all metioned 100 times is key here .
Beatstep & APC-40 Resolve Edition Controllers https://posttools.tachyon-consulting.com
Test Rig : 2xXeon (24c) | UNRAID KVM OSX VM's | 128GB | 5700XT | 40Gbe
Prod Rig : i9-7940X (14c) | OSX 10.15 | 64GB | 2xVega 56 | 40Gbe | Tb3 | V:Eizo | A:5.1RME
Offline

markr041

  • Posts: 84
  • Joined: Fri Nov 29, 2013 3:42 am

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostFri May 28, 2021 2:07 pm

Thanks for the responses. I was surprised that merely going from tab to tab uses up RAM. And it is correct, the computer behaves as if it is swapping RAM and disk to do the processing of the clips just for thumbnail display (so the CPU gets employed too). So, increasing RAM to 32 GB's might solve this problem (possible), or using proxies of course. I had thought scrubbing through the timeline and playing clips would be the issue for 10bit HEVC 422 8K files, but it is not!

And it is correct, that the HEVC 10 bit 422 compression is not the issue, as the Intel chip I have (10th generation) decodes HEVC 422 10bit in hardware (Quicksync, which Resolve supports). Thus, I can actually play the clips once they are loaded up.

At the end of the day, if I am patient, I can produce 8K videos with no proxies on this system (still testing):

Mark Rosenzweig
Offline

Nick2021

  • Posts: 911
  • Joined: Thu May 13, 2021 3:19 am
  • Real Name: Nick Zentena

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostFri May 28, 2021 6:18 pm

markr041 wrote:T

And it is correct, that the HEVC 10 bit 422 compression is not the issue, as the Intel chip I have (10th generation) decodes HEVC 422 10bit in hardware (Quicksync, which Resolve supports).


Are you on a laptop? 10th gen desktop doesn't handle 4.2.2. I assume you're using Studio .
Offline

markr041

  • Posts: 84
  • Joined: Fri Nov 29, 2013 3:42 am

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostSat May 29, 2021 8:02 pm

Nick2021 wrote:
markr041 wrote:T

And it is correct, that the HEVC 10 bit 422 compression is not the issue, as the Intel chip I have (10th generation) decodes HEVC 422 10bit in hardware (Quicksync, which Resolve supports).


Are you on a laptop? 10th gen desktop doesn't handle 4.2.2. I assume you're using Studio .


You are correct; I misread - decode 422 8K on 10th generation mobile. I have desktop, and of course Studio (non-Studio cannot read HEVC 8K 422 clips at all).
Mark Rosenzweig
Offline

markr041

  • Posts: 84
  • Joined: Fri Nov 29, 2013 3:42 am

Follow-Up

PostSat May 29, 2021 8:10 pm

So, I created "optimized" media in Resolve - at 1/2 resolution DNxHD. I had 51 original clips of about 6 seconds of duration each, all 10bit Clog 3 8K HEVC All-I. It took Resolve 10 hours to create the media. The target folder and the original clips were on a fast external SSD.

Once the media were finished, editing on the timeline in 4K was easy and smooth.

It took 2 hours to render the 2-minute video in 4K from the 8-minute clips (H264 8bit).
Mark Rosenzweig
Offline

Nick2021

  • Posts: 911
  • Joined: Thu May 13, 2021 3:19 am
  • Real Name: Nick Zentena

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostSun May 30, 2021 4:51 am

If you have two machines . One that can decode the files and one that doesn't. It might make sense to create the media on the laptop. Store it on a NAS. Then use it on the desktop. Or just use sneakernet. Store onto an external drive and then use that to copy the new media.

I'll let others comment on any possible issues.
Offline
User avatar

Uli Plank

  • Posts: 25484
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostSun May 30, 2021 7:14 am

There are not many laptops to decode that format in hardware.
My disaster protection: export a .drp file to a physically separated storage regularly.
Please visit digitalproduction.com/author/uliplank/

Studio 19.1.3
2017 iMac, MacOS 13.7.4, eGPU
MacBook M1 Pro and M4 Pro mini, MacOS 14.7.5
SE, USM G3
Offline

markr041

  • Posts: 84
  • Joined: Fri Nov 29, 2013 3:42 am

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostSun May 30, 2021 7:26 pm

Nick2021 wrote:If you have two machines . One that can decode the files and one that doesn't. It might make sense to create the media on the laptop. Store it on a NAS. Then use it on the desktop. Or just use sneakernet. Store onto an external drive and then use that to copy the new media.

I'll let others comment on any possible issues.


That's clever. The laptop with 10th-generation Intel i7 does the decoding of the HEVC 422 files, which it can do in hardware, and the desktop does the real work on the optimized files.

The only snag is that in Resolve the optimized files are placed where you want them in settings, but when you move those files (on the external disk) to another computer it is not clear that the new project will find or use them. I don't know, since I have only optimized on the same computer, which works smoothly and automatically, though, of course, absurdly slowly.
Mark Rosenzweig
Offline

Nick2021

  • Posts: 911
  • Joined: Thu May 13, 2021 3:19 am
  • Real Name: Nick Zentena

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostSun May 30, 2021 9:11 pm

Maybe just transcode the files. Don't lower the resolution . Pick a format that's easier on your computer.

On the desktop instead of importing HEVC you'll be importing DNX of some sort.
Offline
User avatar

Uli Plank

  • Posts: 25484
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostSun May 30, 2021 11:41 pm

Second that. Transcode to Cineform or DNxHR in high quality and work with that.
An alternative would be using proxies, which can be moved other than optimized media.
My disaster protection: export a .drp file to a physically separated storage regularly.
Please visit digitalproduction.com/author/uliplank/

Studio 19.1.3
2017 iMac, MacOS 13.7.4, eGPU
MacBook M1 Pro and M4 Pro mini, MacOS 14.7.5
SE, USM G3
Offline

markr041

  • Posts: 84
  • Joined: Fri Nov 29, 2013 3:42 am

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostWed Jun 02, 2021 11:36 am

Thanks again for the suggestions. I think I have a better way using the Canon R5 to avoid the very long process of transcoding or making optimized media/proxy media from HEVC 422 8K clips - shoot RAW and proxies at the same time. I will report on this workflow in another thread.

In the meantime, here is the 8K video produced after the 20-hour optimizing process, which went smoothly after that:



with rough audio at this point.
Mark Rosenzweig
Offline
User avatar

waltervolpatto

  • Posts: 11329
  • Joined: Thu Feb 07, 2013 5:07 pm
  • Location: Pictureshop 6040 Sunset Blvd, Hollywood, CA 90028

Re: 100% Memory (16GB) and 99% CPU Just for Inputting Clips

PostThu Jun 03, 2021 6:14 pm

Mark...

I always say that “if the observer cannot see what we do, we are wasting our time”.

The compression itself will kill the 8K, or a 4K for that matter.... I think it is over killed. Give me a superb HR or a good 4K and I’m fine.

I will personally reduce that to 4K (or capture in a smaller format) UNLESS the client really wants/need 8k.
W10-19043.1645- Supermicro MB C9X299-PGF - RAM 128GB CPU i9-10980XE 16c 4.3GHz (Oc) Water cooled - 12x8TB SSD RAID5 internal (80TB)
PSU RM1200x SHIFT 80 PLUS - Decklink Studio 4K (12.4.1)
Resolve 20.0.0 / fusion studio 19
GPU 3090ti drivers 576.80

Return to DaVinci Resolve

Who is online

Users browsing this forum: chris-beardslee, Dan Anon, panos_mts, Runepune, WeirdApple and 265 guests