Possible causes and solutions for getting an out-of-memory error
Issue
When trying to render you may receive the following error:
Out of memory (requesting 4294967214 MB!!) This may cause instabilities...
Environment Details
- KeyShot
- Any versions
Cause
- Out of memory on the system for GPU memory
- Too much geometry created with Geometry Nodes
- Corrupted OptiX cache
Workarond
Please try the following solutions depending on your situation
Solution 1
Try exporting the file type as a "PSD" file instead of a "PNG" file and see if that renders without errors.
If this does not help, it might be caused by Geometry Nodes.
Solution 2
Some Geometry Nodes might produce a lot of Geometry. You can limit the number of Curves in Millions in the Geometry Node's settings.
Please note that this is the setting per part, so if you have many parts with the respective material, you might need to reduce it further.
You might need to open such a file in the Recovery Mode, which you can access by navigating to Help → Open (Recovery Mode) which opens the file in Performance Mode and without the Geometry Nodes being executed.
Some materials like the RealCloth when using the 3D Ply Geometry may also cause a tremendous amount of Curves being generated, depending on the object size and weave scale.
Switching to the Single Sided or Two Sided display mode should resolve the issue.
Solution 3
Corrupted OptiX cache might cause this issue as well if it is happening even in fresh or simple scenes.
In the Resource Folder you should see three files for the OptiX cache.
Please close KeyShot, delete these files and relaunch it.
The Resource Folder is located in the following directories
- Installed Just For Me:
%UserProfile%\Documents/KeyShot Studio or
C:\Users\<username>\Documents\KeyShot Studio - Installed For Everybody:
C:\Users\Public\Documents\KeyShot Studio or
%Public%\Documents\KeyShot Studio
If that does not help, please back up your custom resources and perform a fresh installation.