不具合 ID 番号 |
BUG-000172545 |
送信されました | November 22, 2024 |
最終更新日 | December 22, 2024 |
適用対象 | ArcGIS Maps SDK for JavaScript |
見つかったバージョン | 4.30 |
オペレーティング システム | Apple MacOS |
オペレーティング システムのバージョン | N/A |
ステータス | Under Consideration
この問題は、開発チームによって確認されました。 この問題は、リリース計画での優先度が設定されていないため、問題の全体的な影響を判断するために監視されます。 優先度の設定プロセスで考慮される要因には、影響を受けるユーザー数、機能をリクエストしているユーザー数、業務への影響、対処法の有無などがあります。 不具合が業務に悪影響を及ぼしている場合は、「操作手順: 不具合をエスカレーションする (https://support.esri.com/en/technical-article/000024129)」をご参照ください。
|
参考情報
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.
再現の手順