This conversation has been merged. Please reference the main conversation: Photoshop CC 2018: An integer between 96 and 8 is required. Closest value inserted. "Could not complete your request because there is not enough memory (RAM)"
tried this solution and it also worked for Photoshop CC 2018
\HKEY_CURRENT_USER\Software\Adobe\Photoshop\120.0Added DWORD "OverridePhysicalMemoryMB" with the value "4000" decimal bas (=24 GB RAM = my installed RAM).