Cycles Cuda out of memory on final render but not on preview I am trying to render my scene (F12) and after two minutes I get the error shown below.



However, when I render the preview, it seems to have no problem.



How can I fix this problem?

Using Blender 2.78c + Win10  Render Settings



Let me know if any more information is needed. I'm still trying to get the hang of blender

The Blender file and normal map
The difference and reason why it renders in previw and not in render is this setting:



In render the surface gets divided a lot more, so the geometry takes a lot of VRAM. Your scene takes 4.2 GB of it in render.

Also many other modifiers have separate settings for viewport/render, there may be objects hidden from preview etc.

Try to lower the quality till it fits in memory, or render on CPU or borrow/buy better GPU.