laptop and a wrench

不具合

Importing the ArcPy and the ArcGIS modules affect the performance of multiprocessing modules.

最後に公開された状態: October 4, 2022 ArcGIS Pro
不具合 ID 番号 BUG-000148712
送信されましたApril 22, 2022
最終更新日February 20, 2025
適用対象ArcGIS Pro
見つかったバージョンN/A
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
ステータスAs Designed

参考情報

When using the Multiprocessing with a Pool object, Multiprocessing creates separate processes up to the process count specified. Similarly, for Process, it creates a separate process for each operation. Both ArcPy and ArcGIS API for Python import a significant number of libraries and Dynamic link-library (DLL)s, and import time can vary from a couple of seconds to 15+ seconds for a fully loaded deep learning environment with the Python API. Because of how multiprocessing works, every process created incurs this same cost. In real workflows, typically the import cost is low relative to the other actions of the script, and the cost is amortized in the Pool case in particular. But there are cases where avoiding using either Python API improves performance because of the associated import costs.

再現の手順

不具合 ID: BUG-000148712

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動