Quit Photoshop.
Learn how to resolve the integer error in Photoshop. This error occurs when you try to access the Performance preferences.
When you try to access the Performance preferences (Edit > Preferences > Performance), Photoshop displays the error message: An integer between 96 and 8 is required. Closest value inserted.
You are unable to access the Performance settings in the Preferences dialog. Tools such as Blur and Liquify that use the graphics processor (GPU) card are also impacted.
This issue appears after updating your operating system to Windows 10 Creators Update.
Windows 10 Creators Update and later versions
This issue has been fixed in Photoshop CC 19.1.5 (June 2018 release).
Update Photoshop to the latest version. See Keep Photoshop up to date.
These instructions are applicable only if you had previously added the OverridePhysicalMemoryMB DWORD key in the registry, as suggested in the workaround below. Removing the key will allow Photoshop to manage the physical memory instead of using this registry override.
Quit Photoshop.
Before you perform the next steps, make sure that you back up the registry. Refer to Microsoft's documentation: How to back up and restore the registry in Windows.
Press Windows + R keys to bring up the Run dialog.
Type regedit.exe and then press Enter.
If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.
In the Registry Editor window, navigate to the folder path below:
Photoshop CC 2018: Navigate to HKEY_CURRENT_USER\SOFTWARE\Adobe\Photoshop\120.0
In the right pane, right-click the key OverridePhysicalMemoryMB that you had created earlier and choose Delete from the menu.
In the Confirm Value Delete dialog, click Yes to confirm.
Before you begin, make sure that you back up the registry. Refer to Microsoft's documentation: How to back up and restore the registry in Windows.
Press Windows + R keys to bring up the Run dialog.
Type regedit.exe and then press Enter.
If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.
In the Registry Editor window, navigate to the folder path below depending on your Photoshop version.
Based on the Photoshop version you're running, right-click the folder mentioned in the previous and choose New > DWORD (32-bit) Value from the menu.
In the right pane, name the new key as OverridePhysicalMemoryMB and press Enter.
Right-click the new key and choose Modify from the menu. In the Edit DWORD (32-bit) Value dialog, do the following:
A. Set Base as Decimal B. To find Value Data, see the explanation in Step 5b below
Sign in to your account