<?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: Is there a size limit for GP services? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-there-a-size-limit-for-gp-services/m-p/558371#M21538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ninety parameters seems like eighty too many.&amp;nbsp; I'd recommend constructing a properties file to manage the inputs, then passing in the path to the properties file as one parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2015 13:08:19 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2015-07-14T13:08:19Z</dc:date>
    <item>
      <title>Is there a size limit for GP services?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-there-a-size-limit-for-gp-services/m-p/558369#M21536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to upload a GP tool to our server and the staging was reported as a success, but the GP service does not have any tasks. From the REST services directory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="font-size: 1.2em; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Test/lfpv1r (GPServer)&lt;/H2&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Service Description: &lt;/STRONG&gt;LFP v1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tasks:&lt;/STRONG&gt;&lt;/P&gt;&lt;EM&gt;None&lt;/EM&gt;&lt;P&gt;&lt;STRONG&gt;Execution Type: &lt;/STRONG&gt;esriExecutionTypeAsynchronous&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Result Map Server: &lt;/STRONG&gt;Test/lfpv1r &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you click on the map server link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: medium;"&gt;Error: &lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: medium;"&gt;Service Test/lfpv1r/MapServer not found &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: medium;"&gt;Code: &lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: medium;"&gt;500&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a maximum size for the python script? I've managed to upload simple test tools ok, but the script I'm trying to upload is 6.5k lines long, with 90 input parameters (don't ask!). Even a cut-down version at 2.5k lines fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can split the tool into stages and upload each one as a separate service, which is probably what I'll end up doing, but I just wondered if there was some kind of size limit that was preventing me from uploading the full tool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 09:46:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-there-a-size-limit-for-gp-services/m-p/558369#M21536</guid>
      <dc:creator>JonMorris2</dc:creator>
      <dc:date>2015-07-14T09:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a size limit for GP services?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-there-a-size-limit-for-gp-services/m-p/558370#M21537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cross post in &lt;A href="https://community.esri.com/space/2087"&gt;Geoprocessing&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 09:47:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-there-a-size-limit-for-gp-services/m-p/558370#M21537</guid>
      <dc:creator>JonMorris2</dc:creator>
      <dc:date>2015-07-14T09:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a size limit for GP services?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-there-a-size-limit-for-gp-services/m-p/558371#M21538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ninety parameters seems like eighty too many.&amp;nbsp; I'd recommend constructing a properties file to manage the inputs, then passing in the path to the properties file as one parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 13:08:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-there-a-size-limit-for-gp-services/m-p/558371#M21538</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2015-07-14T13:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a size limit for GP services?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-there-a-size-limit-for-gp-services/m-p/558372#M21539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I'd agree with you there, but it's a complicated geological process we're trying to model. I'm not a geologist so I'd rather not mess with the script too much, but I would prefer to break it up into smaller stages, and that's probably what I'll end up doing. We'll be calling this GP service through the javascript api, so ultimately parameters will be passed in as one object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wondered if there was any kind of fixed size limit under the hood or if anyone had had similar problems when trying to publish large scripts. Or if anyone was doing this kind of thing at all, because I've had very little feedback so far!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 14:15:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-there-a-size-limit-for-gp-services/m-p/558372#M21539</guid>
      <dc:creator>JonMorris2</dc:creator>
      <dc:date>2015-07-14T14:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a size limit for GP services?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-there-a-size-limit-for-gp-services/m-p/558373#M21540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder... what would happen if you uploaded one of the simple, working tools with enough random comments to reach 6,500 lines? You could also add 90 dummy parameters... If the bloated test tool works locally, but experiences the same behavior when published to the server, then we may be able to rule out script-specific issues... this would lend credence to a script size issue. Maybe also try an unbloated test tool with 90 dummy params.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 14:43:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-there-a-size-limit-for-gp-services/m-p/558373#M21540</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-07-14T14:43:06Z</dc:date>
    </item>
  </channel>
</rss>

