Select to view content in your preferred language

Share in_memory feature class between python processes

430
1
05-10-2019 01:02 PM
mohammednabil
Emerging Contributor

I am running 2 Python processes and using arcpy in both of them.

I created an in_memory feature class in one process and I want to access it from the other process without saving it to shp file or GDB

Is there anyway to share the in_memory feature class across different python processes, or even return it as an object from one function to another?

Thanks

0 Kudos
1 Reply
JoshuaBixby
MVP Esteemed Contributor

In short, no, or at least not that I have ever seen.  Inter-process memory sharing gets complicated quickly.

0 Kudos