<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Export Web Map Task - JSON length limit? in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-web-map-task-json-length-limit/m-p/641764#M3129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a few time to update the thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are the settings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Change maxPostSize=0 (default is 10M) to disable limitation for post size in C:\Program Files\ArcGIS\Server\framework\runtime\tomcat\conf\server.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Change SocMaxHeapSize to a bigger value (64M is default) to avoid server crash in file C:\Program Files\ArcGIS\Server\framework\etc\machine.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* This one may also need to be increased to avoid server crash:&amp;lt;AppServerMaxHeapSize&amp;gt;256&amp;lt;/AppServerMaxHeapSize&amp;gt; in C:\Program Files\ArcGIS\Server\framework\etc\machine.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The latter two can be changed by REST admin API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 14:15:52 GMT</pubDate>
    <dc:creator>BinChen1</dc:creator>
    <dc:date>2013-10-16T14:15:52Z</dc:date>
    <item>
      <title>Export Web Map Task - JSON length limit?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-web-map-task-json-length-limit/m-p/641762#M3127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a limit to the length of the JSON string when sending a POST request to the REST interface aof ArcGIS for Server's Printing Tools' "Export Web Map Task" ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't find any documentation to any limitations so I presume only firewall limitations apply. But I need to make sure there are no such limits on ArcGIS for Server before starting to implement my application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason I ask is that&amp;nbsp; I ran into a similar problem when using a FeatureService. In that case the JSON string got cut off by the REST interface after about 2000 features. The solution to this was rather simple: splitting the big request up into several smaller ones. However, the JSON for the "Export Web Map Task" can't be split up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So if there are any limitations to the JSON length, please let me know. So I can plan ahead and maybe look for alternative ways to implement my application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Florian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 11:06:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-web-map-task-json-length-limit/m-p/641762#M3127</guid>
      <dc:creator>FlorianRienäcker</dc:creator>
      <dc:date>2013-04-16T11:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Export Web Map Task - JSON length limit?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-web-map-task-json-length-limit/m-p/641763#M3128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Florian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you get any update on this question?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We got issue when we post a very huge request (around 9MB) to ArcGIS GeometryService, the server crashed. The default limition of maxPostSize is 10M configured in Tomcat server.xml. It works when we post a request around 6MB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 20:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-web-map-task-json-length-limit/m-p/641763#M3128</guid>
      <dc:creator>BinChen1</dc:creator>
      <dc:date>2013-08-23T20:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Export Web Map Task - JSON length limit?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-web-map-task-json-length-limit/m-p/641764#M3129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a few time to update the thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are the settings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Change maxPostSize=0 (default is 10M) to disable limitation for post size in C:\Program Files\ArcGIS\Server\framework\runtime\tomcat\conf\server.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Change SocMaxHeapSize to a bigger value (64M is default) to avoid server crash in file C:\Program Files\ArcGIS\Server\framework\etc\machine.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* This one may also need to be increased to avoid server crash:&amp;lt;AppServerMaxHeapSize&amp;gt;256&amp;lt;/AppServerMaxHeapSize&amp;gt; in C:\Program Files\ArcGIS\Server\framework\etc\machine.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The latter two can be changed by REST admin API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 14:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-web-map-task-json-length-limit/m-p/641764#M3129</guid>
      <dc:creator>BinChen1</dc:creator>
      <dc:date>2013-10-16T14:15:52Z</dc:date>
    </item>
  </channel>
</rss>

