We are using a Validation Service with a custom Attribute Rule for validation. If we run the validation in the Attribute Inspector in ArcGIS Pro the memory of the ArcGIS Server rise to its limit and crashs the server. I can't see what I'm doing wrong. My validation rule looks as followed:
if (Geometry($feature).hasM){
var paths = Geometry($feature).paths
for (var i in paths){
for (var j in paths[i]){
if (j > 0){
var segment = Length([paths[i][j-1],paths[i][j]]);
var m = paths[i][j].m-paths[i][j-1].m
if (Abs(segment-m)>0.001){
return false
}
}
}
}
}
return true
We check for about 3000 $features.
Hey @Zoggo
would you mind sharing the following info?
The version of ArcGIS server?
How many total number of features in the class?
The registration type of the class (unversioned/branch etc.)
Can you monitor the ArcSOC as you execute the evaluate call and see how much it reaches before the SOC crashes?
Hello
The version of ArcGIS server -> 10.9.1
How many total number of features in the class -> 4278
The registration type of the class (unversioned/branch etc) -> branch versioned
Can you monitor the ArcSOC as you execute the evaluate call and see how much it reaches before the SOC crashes- I will check this with our server administrator