laptop and a wrench

不具合

Running multiple RouteTasks consumes 50% to 100% of the CPU performance.

最後に公開された状態: June 22, 2021 ArcGIS Runtime SDK
不具合 ID 番号 BUG-000139394
送信されましたApril 27, 2021
最終更新日June 5, 2024
適用対象ArcGIS Runtime SDK
見つかったバージョン100.11
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスKnown Limit

参考情報

This issue is specific Garbage Collection in conjunction with the x86/32-bit architecture, .NET Framework, and the pattern in which the API is used. 1. Avoid closing the MobileMapPackage between each call to RouteTask.SolveRouteAsync() (in the reproducer this is in the ProcessLocations function). e.g. ``` streetMapPremiumPackage.Close(); // Remove this call. ``` 2. Call GC.Collect/GC.WaitForPendingFinalizers before the call to streetMapPremiumPackage.Close(): When it is necessary to close the MobileMapPackage between each call to SolveRouteAsync, assign the RouteTask to null and call GC.Collect/GC.WaitForPendingFinalizers before the call to streetMapPremiumPackage.Close();. e.g. ``` solveRouteTask = null; GC.Collect(); GC.WaitForPendingFinalizers(); streetMapPremiumPackage.Close(); ``` 3. Target x64: This issue is only reproducible when the application is compiled as 32-bit (or AnyCPU + Prefer 32-bit), and not when the application is compiled as x64 (or AnyCPU and running on a x64 machine). 4. Update from .NET Framework to .NET 6: The issue was no longer reproducible after updating the repro app to .NET 6. https://docs.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview

再現の手順

不具合 ID: BUG-000139394

ソフトウェア:

  • ArcGIS Runtime SDK

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

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

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

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

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

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

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