ottarv-geodata-no-esridist

Network Server error: "Could not allocate enough contiguous memory."

Discussion created by ottarv-geodata-no-esridist on May 2, 2013
Latest reply on May 6, 2013 by ottarv-geodata-no-esridist
I'm getting this error in my ArcGIS Server log when calling the REST endpoint of a Network Analysis service, requesting a route description. Example request:

/arcgis/rest/services/vn_route/NAServer/Route/solve?stops=265000%2C6650000%3B260000%2C6653000&outSR=25833&impedanceAttributeName=Minutes&restrictionAttributeNames=Oneway&returnDirections=true&f=json

Response:
{"error":{"code":500,"message":"Error executing solve route","details":[]}}


Error message in the ArcGIS Server log:
SEVERE 2. mai 2013 14:45:54 NALayer [Route]: Could not allocate enough contiguous memory. vn_route.MapServer


Doing a solve without requesting directions works:
/arcgis/rest/services/vn_route/NAServer/Route/solve?stops=265000%2C6650000%3B260000%2C6653000&outSR=25833&impedanceAttributeName=Minutes&restrictionAttributeNames=Oneway&returnDirections=false&f=pjson

Response:
{
 "messages": [
  
 ],
 "routes": {
  "hasM": true,
  "fieldAliases": {
   "ObjectID": "ObjectID",
   "Name": "Name",
   "FirstStopID": "FirstStopID",
   "LastStopID": "LastStopID",
   "StopCount": "StopCount",
   "Total_Minutes": "Total_Minutes",
   "Shape_Length": "Shape_Length"
  },
  "geometryType": "esriGeometryPolyline",
  "spatialReference": {
   "wkid": 25833,
   "latestWkid": 25833
  },
  "features": [
   {
    "attributes": {
     "ObjectID": 1,
     "Name": "Location 1 - Location 2",
     "FirstStopID": 1,
     "LastStopID": 2,
     "StopCount": 2,
     "Total_Minutes": 13.279979646627661,
     "Shape_Length": 10122.851526668173
    },
    "geometry": {
     "hasM": true,
     "paths": [
      [
       [
        265001.46760000009,
        6649998.1897999998,
        0
       ],
...


I'm using ArcGIS for Server 10.1 SP1 on Windows Server 2012.
Does anybody know what might cause this issue?

See also http://forums.arcgis.com/threads/82633-quot-Error-executing-solve-route-quot-When-returnDirections-true-on-Network-Analyst?p=294636&viewfull=1#post294636

Outcomes