ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python.net
python.net
Re: [Python.NET] Shortening execution time of Python script
by Philippe LE GRAND other posts by this author
Sep 9 2009 6:18AM messages near this date
[Python.NET] Shortening execution time of Python script | [Python.NET] Invitation to connect on LinkedIn
FRAMEWORK David,

Are you doing this using Python.Net from within an ArcGIS .Net extension? If
that is the case, I would suggest you use the standard ArcGIS Python
geoprocessor for the task you describe.

Either way, I believe you would have more success getting an answer in the
ESRI ArcGIS geoprocessing and scripting forum (
http://forums.esri.com/forums.asp?c=93 )

As far as ArcGIS server goes: it is indeed a 32bit application, but the
memory limit is close to 4GiB; There should be no problem handling an 11MiB
dataset.

Philippe

On Wed, Sep 9, 2009 at 5:53 AM, David Shi <davidgshi@[...].uk>  wrote:

>  I have a Python script that automatically downloads zip files containing
>  large datasets from another server and then unzips the files to further
>  process the data.
> 
>  It has been used as a geoprocessor of ArcGIS Server.
> 
>  The script works fine when two datasets each has several kilobytes size,
>  but the script stops half way when datasets were about 11,000KBytes.
> 
>  I think that the execution time is too long and ArcGIS Server just simply
>  killed the process.
> 
>  What actions can I try to reduce the execution time?
> 
>  ArcGIS Server only works on the basis of 32 bits and I was told that the
>  maximum memory it can utilise is 4 MBytes.
> 
>  I should be grateful if someone can make suggestions/recommendations.
> 
>  Sincerely,
> 
>  David
> 
> 
>  _________________________________________________
>  Python.NET mailing list - PythonDotNet@[...].org
>  http://mail.python.org/mailman/listinfo/pythondotnet
> 
Thread:
David Shi
Philippe LE GRAND

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved