AnsweredAssumed Answered

Issue leveraging memory workspace

Question asked by rob.white_nbdnr on Jul 17, 2019
Latest reply on Jul 17, 2019 by rob.white_nbdnr

Hi, I am running a Python 3 script, and with that script I am trying to leverage the in_memory workspace. 

 

The work flow involves clipping manageable tiles of a simplified raster layer and then convert to a polygon feature class.  Using 'in_memory', I carry out an eliminate and a smoothPolygon. As new tiles are processed, I release and clean up the in_memory feature classes so as not to consume memory/RAM needlessly.

 

The script is intended to run for hours (more tiles = more time). For the most part it works. However at times the script process appears to just hang or greatly slows down. The hanging may even correspond to when my computer is locked for a period of time - like overnight.  The next morning, I can start the script up again on the same tile and the script completes. 

 

Has anyone else run into a similar issue?

 

Config Specs: 

ArcGIS Pro 2.4.0

Intel Core i7 | 64 GB

Win 10

Outcomes