HP Z840 Graphic memory full issue.

Whenever I try to render in 4K with noise reduction applied, Resove 15 gives me the message "Graphic Memory Full". What is the solution? What should be my hardware configuration?
Nimesh Shrestha
HP Z840 single CPU
Nvidia Quadro K4200
32 GB RAM
Windows 10 professional
Nimesh Shrestha
HP Z840 single CPU
Nvidia Quadro K4200
32 GB RAM
Windows 10 professional