Learn how to resolve the integer error in Photoshop. This error occurs when you try to access the Performance preferences.

Issue

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.

(Windows) Error dialog when accessing the Performance preferences in Photoshop

This issue appears after updating your operating system to Windows 10 Creators Update. 

Generally, when you encounter any of the following errors, you may want the follow the below solution:

  • "Could not complete your request because of a problem parsing the JPEG data"
  • "Could not complete your request because there is not enough memory (RAM)"
  • "There was an error opening your printer. Printing functions will not be available until you have selected a printer & reopened any document"

Operating System

Windows 10 Creators Update and later versions

Solution

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.  

Remove OverridePhysicalMemoryMB DWORD key from the registry

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. 

  1. Quit Photoshop.

    Caution:

    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.

  2. 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.

  3. In the Registry Editor window, navigate to the folder path below:

    Photoshop CC 2018: Navigate to HKEY_CURRENT_USER\SOFTWARE\Adobe\Photoshop\120.0

    HKEY_CURRENT_USER in Registry Editor
  4. In the right pane, right-click the key OverridePhysicalMemoryMB that you had created earlier and choose Delete from the menu.

    delete-dword-key
  5. In the Confirm Value Delete dialog, click Yes to confirm.

Workaround

Caution:

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.

  1. 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.

  2. In the Registry Editor window, navigate to the folder path below depending on your Photoshop version.

    • Photoshop CC 2018: Navigate to HKEY_CURRENT_USER\SOFTWARE\Adobe\Photoshop\120.0
    • Photoshop CC 2017: Navigate to HKEY_CURRENT_USER\SOFTWARE\Adobe\Photoshop\110.0
    • Photoshop CC 2015.5: Navigate to HKEY_CURRENT_USER\SOFTWARE\Adobe\Photoshop\100.0
    • Photoshop CC 2015: Navigate to HKEY_CURRENT_USER\SOFTWARE\Adobe\Photoshop\90.0
    • Photoshop CC 2014: Navigate to HKEY_CURRENT_USER\SOFTWARE\Adobe\Photoshop\80.0
    HKEY_CURRENT_USER in Registry Editor
  3. 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.

    image001
  4. In the right pane, name the new key as OverridePhysicalMemoryMB and press Enter.

  5. Right-click the new key and choose Modify from the menu. In the Edit DWORD (32-bit) Value dialog, do the following:

    Modify registry key
    A. Set Base as Decimal B. To find Value Data, see the explanation in Step 5b below 
    1. Set Base as Decimal.
    2. In the Value Data field, change the value from 0 to a numeric megabyte value that reflects your system's physical memory. For example, enter 4096 for 4 GB, 8192 for 8 GB, 16384 for 16 GB, or 24576 for 24 GB.
    3. Click OK.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy