# 2.83 - Cycles - CUDA error: Out of memory in mem_alloc_result, line 815

When rendering in Cycles at 1080p, everything went fine until it started denoising. I then suddenly got the error: CUDA error: Out of memory in mem_alloc_result, line 815.

My GPU has 6GB VRAM and my computer has 24GB RAM, yet neither showed any signs of approaching the max.

• The denoiser uses a lot of memory. Why does denoising take up so much memory? – susu Jun 23 '20 at 1:03
• I had to switch my viewport shading from rendered to solid to fix this. – Joe Apr 9 at 19:03