1
$\begingroup$

When I preview cycles render in viewport, the performance is solid and using 1 or 2GB memory. However when I render, at 128 samples, my pc freezes after about 2 seconds. Also, I have only got 16GB of ram, but the lower right corner says that the memory usage is 17.24GB. I render on the CPU, which is a Ryzen 2700x and I use blender 2.82. The scene is a desert render with an animated person walking. The desert has a subsurface material set to adaptive. There are only about 200.000 faces. Does anybody know what’s up with the ram and why my render freezes?

Thanks in advance

$\endgroup$
2
  • $\begingroup$ Thank you for the fast reply. I will try that. $\endgroup$ – Asmus Mortensen Jan 25 at 19:10
  • 1
    $\begingroup$ Hello :). Adaptive subdivision can send your 200 000 faces into tens of millions and easily take up 17 GB of memory. Tried that last week, my pc still hates me. $\endgroup$ – Jachym Michal Jan 25 at 19:26
2
$\begingroup$

Blender will use as much RAM as it needs to render the scene, until your system cannot provide those resources any more.

Usually, when the program needs more ram than installed on the hardware, the operating system will resort to "virtual memory", where the operating system will use a paging file (or "swap") on a hard drive to store the data that doesn fit in RAM anymore, not only slowing things down, but potentially crashing if the paging file is not large enough or gets currupted.

You have at least 4 choices:

Be patient and let the computer work, and crash and start over.

Or simplify/optimize the scene to match the limits of your hardware,

or add more memory to the system to meet your desired output,

or use a render farm or cloud computing.


As to why the specific scene you are trying to render is pushing the computer to the edge, there could be multiple explanations.

Subdividing can easily create a number of vertices that become unmanageable. The size of textures will have an impact on the resources available. Particles and simulations, deformations, moving armatures they also need heavy computing power, the number of samples, the size of the tiles, final render size, denoising and compositing will also need to RAM and CPU time. So start investigating how you can minimize/optimize the scene so that you can get something out of your computer.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.