Similar Experience with 'Stuck' Loop?

15 views
Skip to first unread message

Adrian

unread,
Feb 19, 2014, 6:24:54 PM2/19/14
to geop...@googlegroups.com
I'm wondering if anyone else has experienced what I am experiencing (described below) and what the solution might be.

I am looping through a bunch of steps on different shape files.  Every once and a while my loop seems to get stuck on a particular step (e.g. buffering points) and the memory allocated to 'pythonw' starts going up and up.  However, if I kill the 'stuck' process and restart the script, python will successfully complete the step second time.  Anyone else experienced a similar situation and have an explanation?

Thanks,
Adrian
PS - I'm a Python newbie so maybe the solution is fairly simple.

Lew.Gr...@gov.bc.ca

unread,
Mar 10, 2014, 12:35:42 PM3/10/14
to geop...@googlegroups.com
Yo Adrian  ( sorry, I couldn't resist...)
 
Have you considered writing any "intermediate" output to a temporary drive ( in the BC government we use T drive).  This may help with memory issues or slow processing. 
Reply all
Reply to author
Forward
0 new messages