ERROR

File sharing lock count exceeded. Increase MaxLocksPerFile registry entry.

Last Published: April 25, 2020

Error Message

When performing a calculation, the following error may be displayed:

"File sharing lock count exceeded. Increase MaxLocksPerFile registry entry."

Cause

The MaxLocksPerFile registry setting is too low. MaxLocksPerFile is a Microsoft Jet registry setting that is set to 9500 by default. A test with the default value for this setting allows the calculation of 139,000 selected records in Microsoft Access.

Solution or Workaround

Use the Advanced ArcMap Settings utility to increase the MaxLocksPerFile value. This utility allows modifying the registry settings used by ArcGIS.

  1. Run the AdvancedArcMapSettings.exe application file.
AdvancedArcMapSettings.exe is found in the following locations:
  • ArcGIS versions 9.0, 9.1, 9.2, 9.3, and 9.3.1 <drive>:\Program Files\ArcGIS\Utilities.
  • ArcGIS version 10.x: <drive>:\Program Files (x86)\ArcGIS\Desktop10.x\Utilities
Note:
This utility has a slightly different look depending on the version of ArcGIS.
  1. Click the Editor tab.
  2. Update the JET Engine max # of records to calculate to a value larger than the number of records currently in the dataset.
  3. Exit AdvancedArcMapSettings.exe.
  4. Perform the calculation again.

Article ID:000002799

Software:
  • ArcMap

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic