laptop and a wrench

Bug

Network Dataset Build fails with File read/write error occurred" if more than 3 GB available RAM on the machine."

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM035569
SubmittedMay 26, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.3
Version FixedN/A
StatusFixed

Description

When building a network dataset on a machine that has more than 3 GB of available RAM, the build fails and returns the following error:
Error:   
File read/write error occurred.

Cause

The network dataset builder is improperly determining the amount of available memory on the machine, which causes the error to be thrown.

Workaround

Explicitly specify the amount of memory to use when building network datasets. This can be done by modifying the registry.
Note:
This key is not in the registry by default. It needs to be created and set to the appropriate value.
Warning:
The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary.

Esri cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.
  1. Open the Registry Editor by navigating to Start > Run, type regedit, and click OK.
  2. Expand the HKEY_CURRENT_USER\Software\ESRI\ key folder.
  3. Click on the Geodatabase folder. If the Geodatabase folder does not exist, create it by right-clicking on the ESRI folder and selecting New > Key. Rename the new key folder to Geodatabase.
  4. Click on the NetworkDataset folder. If the NetworkDataset folder does not exist, create it by right-clicking on the ESRI folder and selecting New > Key. Rename the new key folder to NetworkDataset.
  5. In the NetworkDataset folder, click on the value key MemSizeToUseInBuilding. If the MemSizeToUseInBuilding value key does not exist, create it by right-clicking the NetworkDataset folder and selecting New > DWORD Value. Rename the newly created value key to MemSizeToUseInBuilding.
  6. Double-click the MemSizeToUseInBuilding value key, change the base to decimal, and set the value data to 512.
    Note:
    This registry DWORD determines the amount of memory in MB to use when building a network dataset. The suggested value of 512 MB should be adequate, but this number can be increased to be anything under 2000.

Steps to Reproduce

Bug ID: NIM035569

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options