laptop and a wrench

不具合

Seeing a large increase in resource usage when using Safari to display WebTileLayers.

ArcGIS Maps SDK for JavaScript
不具合 ID 番号 BUG-000172545
送信されましたNovember 22, 2024
最終更新日December 22, 2024
適用対象ArcGIS Maps SDK for JavaScript
見つかったバージョン4.30
オペレーティング システムApple MacOS
オペレーティング システムのバージョンN/A
ステータスUnder Consideration

参考情報

The issue arises because all the tile layers are added to the map, and each layer fetches its tiles and retains them in memory indefinitely. Below is an example of the same map where the layers are removed instead of simply being hidden. This approach prevents memory issues by releasing the tiles when the layer is removed. Refer to this link https://codepen.io/U_B_U/pen/NPKREQm?editors=1000 for more information. With that said, the memory usage are further improved. If a layer remains invisible for a certain period, the layer view must automatically purge the tiles from memory, freeing up resources and optimizing performance.

対処法

The issue arises because all the tile layers are added to the map, and each layer fetches its tiles and retains them in memory indefinitely. Below is an example of the same map where the layers are removed instead of simply being hidden. This approach prevents memory issues by releasing the tiles when the layer is removed. Refer to this link https://codepen.io/U_B_U/pen/NPKREQm?editors=1000 for more information.

再現の手順

不具合 ID: BUG-000172545

ソフトウェア:

  • ArcGIS Maps SDK for JavaScript

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

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

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

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

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

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

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