Skip To Content

Geoprocessing service settings: Advanced properties

In this topic

The following properties for geoprocessing services are advanced settings which cannot be set using ArcGIS Server Manager or the Server Properties dialog box in ArcGIS for Desktop. The majority of geoprocessing services will not need to modify these settings.

Heap size

The heap size controls the maximum file size that can be sent to the GIS Server. By default, the application server is set to 256 MB and the SOC maximum to 64 MB. If you have services to which your users will upload large files, increase the default of both properties to an appropriate amount.

  1. In a web browser, navigate to http://<Your Server Name>:6080/arcgis/admin.
  2. Log in to the ArcGIS Server Administrator Directory with an administrators account.
  3. Click machines.
  4. Click the link <Your Server Name>.<domain>.com. For example, a link may appear as server1.esri.com.
  5. On the page Server Machine Properties, click the edit link.
  6. Increase the value of App Server maximum heap size (in MB).
  7. Increase the value of SOC maximum heap size (in MB).
  8. Click the Save Edits button to finish editing.

Upload Size

The upload size setting controls the file size that can be uploaded by clients connecting to the service through a REST end point. These clients are typically web clients using the service through a custom web application. By default, the limit is set to 2 GB. Use this setting to provide an appropriate default to prevent large uploads for your service.

  1. Open a web browser and navigate to http://<server name>:6080/arcgis/admin/login.
  2. Log in to the ArcGIS Server Administrator Directory with an administrators account.
  3. Click services.
  4. Click the name of the service.
  5. Click the edit link at the bottom of the page under Supported Operations.
  6. Within the text box for the Service (in JSON format):*, find the maxUploadFileSize tag and set the maximum file size after the colon (:). A completed entry would look similar to "maxUploadFileSize": 100,.
  7. Click the Save Edits button.
Note:

When publishing a geoprocessing service, make sure the Uploads check box on the Capabilities page of the geoprocessing service properties is enabled.

Upload types

Only certain files can be uploaded to a geoprocessing service. These files are restricted by their extension type, which is set at the service level.

  1. Open a web browser and navigate to http://<server name>:6080/arcgis/admin/login.
  2. Log in to the ArcGIS Server Administrator Directory with an administrators account.
  3. Click services.
  4. Click the name of the service.
  5. Click the edit link at the bottom of the page under Supported Operations.
  6. Within the text box for the Service (in JSON format):*, find the allowedUploadFileTypes tag and add the file extensions you want to allow inside the quotations after the colon (:). A completed entry would look similar to "allowedUploadFileTypes": ".kml,.gpx".
  7. Click the Save Edits button.
Note:

When publishing a geoprocessing service, make sure the Uploads check box on the Capabilities page of the geoprocessing service properties is enabled.

Local Temp folder

The local temp folder is a directory that the GIS Server writes intermediate output to when the server participates in a cluster with more than one machine, or the directories are referenced using a UNC path. The temp folder location is unique to the user account on which ArcGIS Server runs. This account is set when ArcGIS Server is installed. On Windows, you may see C:\Users\<user>\AppData\Local\Temp in the execution messages of your service. To change the location of this folder you will have to log on to the computer with the account running ArcGIS Server. The temporary directory is modified by changing the path of the TEMP variable within the Environment Variables settings.

Related topics