Skip to content

January 4, 2013


Ran Out of Registry Space on Windows 7

The Problem

I was attempting to upgrade a few workstations at work from Esri’s ArcGIS 9.3 to 10.0. The workstations are running Windows 7 32-bit on Dell OptiPlex 790s, and are otherwise pretty basic setups.

After uninstalling ArcGIS 9.3, I proceeded to install 10.0. Just towards the end of the MSI install — the “publishing product information” phase — the install would completely halt and lock up. Even after leaving the installer for an additional hour didn’t show any change. I manually ended the installation process, and attempted the install again (after letting the MSI installer repair the failed installation) with the exact same result. Huh?

Skip ahead to a few hours later after much troubleshooting and retrieving/analyzing of logs, I had learned that the MSI installation was failing with error 1935. From Microsoft:

This problem occurs because of a registry handles leak. The leak causes an out of resource exception. Therefore, the installation fails.

Okay, well, I can’t say that I’m surprised. For anyone who has ever installed/uninstalled an Esri ArcGIS product and watched the installer spend 10 minutes writing to the registry, you’ll know what I’m talking about.

It turns out that the Windows registry has a size limit, and because of the leak that is occurring during the installation, the ceiling of that size limit is being hit. The solution, although not classy, is to increase the size limit of the registry.

The Solution

So the Windows registry has a size limit, but how to increase the size of it? In pure Windows fashion, from within the registry itself:

  1. Open the Registry Editor (regedit.exe).
  2. Browse to: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control. Here lies a value called RegistrySizeLimit. The default value is: 5d00000 (97517568).
  3. Change the value to ffffffff (4294967295).
  4. Restart Windows.
Read more from Windows
1 Comment Post a comment
  1. debashish
    Dec 31 2013


    I am facing this issue but while trying to execute above steps.. I am not able to find RegistrySizeLimit under Control folder

    I am using Window 7 home basic. Please help


Share your thoughts, post a comment.


Note: HTML is allowed. Your email address will never be published.

Subscribe to comments