[Web-SIG] Shortening execution time of Python script

Ionel Maries Cristian ionel.mc at gmail.com
Wed Sep 9 13:34:49 CEST 2009


You're a bit contradicting yourself - what's the actual problem, process
memory size or execution time ?
If it's the process memory size you could trick ArcGIS by using a subprocess
that does the actual work (and eats into the memory).

-- ionel

On Wed, Sep 9, 2009 at 13:52, David Shi <davidgshi at yahoo.co.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
>
>
> _______________________________________________
> Web-SIG mailing list
> Web-SIG at python.org
> Web SIG: http://www.python.org/sigs/web-sig
> Unsubscribe:
> http://mail.python.org/mailman/options/web-sig/ionel.mc%40gmail.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/web-sig/attachments/20090909/f6a445c5/attachment.htm>


More information about the Web-SIG mailing list