Skip To Content

001421: The maximum number of neighbors allowed is <value>, truncating neighbors to preserve memory.


By default, only a warning is triggered when the number of neighbors for one or more features exceeds 1000. This warning is triggered when the maxNumberOfNeighbors variable setting in <ArcGIS>/ArcToolbox/Scripts/ has been changed from None to a specific threshold value, and a feature exceeds that threshold.


Modify the maxNumberOfNeighbors variable or change your Conceptualization of Spatial Relationships to reduce the number of neighbors for the features in your dataset. If you only want a warning when a specified number of neighbors is exceeded, set the warnNumberOfNeighbors variable in <ArcGIS>/ArcToolbox/Scripts/ to that value and leave the maxNumberOfNeighbors variable as None.