Video memory has been exhausted

I had 1 fps in default scene on epic settings in 4k, but managed to improve my fps to 20 by changing antialising method from tempral superresolution to multisample.