I'm used to rendering heavier files but cycles isn't rendering the one I'm currently working on for some reason, it renders just fine in the viewport even with the sampling increased exponentially and it still only takes around 60mb of memory but when I render the scene it says out of memory and doesn't render. plus the model isn't visible through the camera with viewport render.
-
$\begingroup$ <img src="https://blend-exchange.giantcowfilms.com/embedImage.png?bid=4926" /> $\endgroup$– Thariq MirzaCommented Jun 9, 2018 at 19:06
-
$\begingroup$ there is an edit link at the bottom of your post so that you can include the link as part of the question an not as a comment. $\endgroup$– user1853Commented Jun 9, 2018 at 19:37
-
$\begingroup$ Issue is with memory . I think you are using the GPU for cycles rendering ..try switching to ram. $\endgroup$– Alt CCommented Jun 9, 2018 at 19:38
-
$\begingroup$ Read: Blender render crash when using subsurf modifiers. $\endgroup$– user1853Commented Jun 9, 2018 at 20:05
-
$\begingroup$ I'm using CPU rendering as blender doesn't support my GPU $\endgroup$– Thariq MirzaCommented Jun 9, 2018 at 20:15
1 Answer
You have two problems:
The first one is that you have set the subsurf modifier to a very high number of subdivisions for rendering.
You have to be careful when using the subsurf modifier, as it increases the number of vertices exponentially. Using a large number of vertices will require more RAM and will use more computing resources. I doubt you need 6 levels of subdivision ever. With 6 levels of subdivision your very simple scene needs 6.5GB of RAM to render.
Use a more reasonable number. Read: Blender render crash when using subsurf modifiers.
The second problem is that you are trying to use depth of field on the camera, but have set the focus distance to zero, so your scene is completely out of focus, and it renders all gray.
Set the focus to the distance of the object , or select the object as your focus target.
Read: