Is This Content Helpful?
We're glad to know this article was helpful.
While solving a large origin-destination (OD) cost matrix or vehicle routing problem (VRP) network analysis layer, the following error message is returned:
“Error: Out of memory”.
During the analysis process, ArcGIS Network Analyst compiles and temporarily stores intermediate information in memory. This information is referenced near the end of the solve process. After the solve process is complete, the information is cleared from memory.
This out-of-memory error message appears when the system’s memory is depleted before Network Analyst has finished storing all the intermediate information.
One workaround is to use a computer that has more memory. Still, the analysis may be too large for that computer as well, or another computer may not be accessible.
Another workaround is to use 'chunking.' In chunking, the registry key values are changed, causing Network Analyst to break the analysis into smaller problems or 'chunks,' and clearing the memory after solving each chunk. This approach only works for some types of network analysis layers — it depends on whether Network Analyst needs to store information in memory for the entire analysis or if it can break the analysis into smaller portions. The vehicle routing problem internally creates an OD cost matrix and therefore indirectly supports chunking.
At ArcGIS 10, the OD cost matrix solver was redesigned to significantly improve scalability, thereby making chunking unnecessary. As a result, chunking is not supported for the OD cost matrix analysis or VRP layers starting with the release of ArcGIS Version 10.
Chunking with the OD cost matrix solver is an option with ArcGIS 9.2, 9.3, and 9.3.1. Upgrading to the current version of ArcGIS resolves any memory issues during an analysis.
Another potential alternative to chunking the OD cost matrix layer is using a cutoff, which can reduce the size of the solution and, thus, memory requirements. If the alternatives do not work, follow the steps below to configure chunking for the OD cost matrix solver.
The following sections outline how to configure chunking for OD cost matrix and, indirectly, VRP layers.
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.