Bug-ID-Nummer |
BUG-000172545 |
Eingereicht | November 22, 2024 |
Zuletzt geändert | December 22, 2024 |
Gilt für | ArcGIS Maps SDK for JavaScript |
Gefunden in Version | 4.30 |
Betriebssystem | Apple MacOS |
Betriebssystemversion | N/A |
Status | Under Consideration
Das Problem wurde durch das Entwicklungsteam überprüft. Es wurde nicht in einem Release-Plan priorisiert, jedoch erfolgt eine Überwachung hinsichtlich der Gesamtauswirkungen. Faktoren, die einen Einfluss auf die Priorisierung haben, sind u. a. die Anzahl der betroffenen Benutzer bzw. die Anzahl der Funktionsanforderungen durch Benutzer, die geschäftlichen Auswirkungen und ein etwaiger Workaround. Sollte ein Bug zu geschäftlichen Beeinträchtigungen für Sie führen, finden Sie weitere Informationen unter "How To: Eskalieren eines Fehlers" (https://support.esri.com/en/technical-article/000024129).
|
Zusätzliche Informationen
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.
Workaround
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.
Schritte zur Reproduzierung