Is This Content Helpful?
We're glad to know this article was helpful.
When solving for an OD Cost Matrix network analysis layer, the following error message occurs:
"Error: Out of Memory"
The analysis is unable to complete due to a lack of necessary memory resources on the client machine. This is often the case for large network analysis tasks being performed on large network datasets, such as over 1+ million edges.
For hierarchical analysis of OD problem sets, the solve algorithm must perform simultaneous backwards searches across the network dataset from each destination. With large numbers of destinations across a large network dataset, this can easily exhaust memory resources.
For non-hierarchical analysis of OD problem sets, memory exhaustion can also often result simply from having very large numbers of origins and/or destinations.
The Network Analyst OD Cost Matrix solver can be made to 'chunk' up the processing behind the scenes, to complete very large analysis tasks using only standard memory configurations.
The 'chunking' sizes for processing can be adjusted for the OD Cost Matrix solver by setting keys within the registry to fit your machine configuration. The following steps outline how to adjust these registry keys for the OD Cost Matrix solver.
Note: These keys are not in the registry by default. They may need 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.
Note: This registry DWORD is only utilized by the solver when solving using hierarchies (since backward searches are simultaneously performed from all destinations when using hierarchies). The value determines the maximum number of destinations to search for at each step of the solve. The default value of this key is 1000. By lowering the value of this registry key, this will reduce the overall memory usage per step, but may also increase solve time.
Note: This registry DWORD is only utilized by the solver when solving without hierarchies. This value determines the maximum number of origins to search from at each step of the solve. The default value of this key is 1000. By lowering the value of this registry key, this will reduce the overall memory usage per step, but may also increase solve time.