Select to view content in your preferred language

ArcPy - control used CPU ressources

179
2
09-03-2024 12:55 AM
padmalcom
Frequent Contributor

Hi, we are exporing a mobile map package using arcpy. When we used ArcGIS Server, the export took 1-3 Minutes. Using arcpy, the export takes ~1,5 hours for the same region. Is there a way to increase the CPU usage of ArcGIS Pro or arcpy directly?

0 Kudos
2 Replies
TonyAlmeida
Frequent Contributor

Have you tried to Enable background processing, use in_memory workspace, are your datasets are spatially indexed? You can try to set CPU Affinity or Priority Permanently in Windows 11/10.

0 Kudos
JoshuaBixby
MVP Esteemed Contributor

Can you explain where the server and desktop machines are located relative to the data sources behind the map?  Is the map connecting to file geodatabases, enterprise geodatabases, something else, all the above?

0 Kudos