Número de ID del error |
BUG-000172545 |
Enviado | November 22, 2024 |
Última modificación | December 22, 2024 |
Relacionado con | ArcGIS Maps SDK for JavaScript |
Versión encontrada | 4.30 |
Sistema operativo | Apple MacOS |
Versión de sistema operativo | N/A |
Estado | Under Consideration
El problema ha sido revisado por el equipo de desarrollo. No se ha priorizado en un plan de lanzamiento y se supervisará para determinar su impacto general. Los factores que se consideran en el proceso de priorización incluyen la cantidad de usuarios afectados o que solicitan la funcionalidad, la repercusión comercial y si existe una solución alternativa, entre otros. Si un error afecta negativamente a su negocio, consulte Soluciones: Escalar un defecto (https://support.esri.com/en/technical-article/000024129).
|
Información adicional
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.
Solución alternativa
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.
Pasos para reproducir