Bug: Closest Facility solver crashes the application when solving a large problem with the Output Shape Type set to True Shape


ArcMap may run out of memory and fail when performing a Closest Facility analysis. This may occur if too many routes are computed with the Output Shape Type option set to True Shape.


When the closest facilities have been found for all incidents, the route geometries are assembled. This operation requires a lot of contiguous memory, especially when generating many routes.


Use one of the following options to avoid this behavior:

  • Solve with "Output Shape Type" option set to "None" or "Straight Line" if the true geometry for the routes is not required.
  • Divide the problem into smaller problems if the true geometry for the routes is required. For example, solve the problem with "Output Shape Type" set to "True Shape", but with only one incident at a time.

    This operation can be time consuming if performed manually. Consider performing this operation within a GeoProcessing script or an ArcObjects application.