Número de ID do Erro |
BUG-000172545 |
Enviado | November 22, 2024 |
Última Modificação | December 22, 2024 |
Aplica-se à | ArcGIS Maps SDK for JavaScript |
Versão encontrada | 4.30 |
Sistema Operacional | Apple MacOS |
Versão do Sistema Operacional | N/A |
Status | Under Consideration
O problema foi analisado pela equipe de desenvolvimento. Ele não foi priorizado em um plano de lançamento e será monitorado para determinar seu impacto geral. Os fatores considerados no processo de priorização incluem o número de usuários afetados ou solicitando a funcionalidade, impacto nos negócios, se existe uma solução alternativa, entre outros. Se um problema estiver afetando negativamente seus negócios, consulte Instrução: Escalar um defeito (https://support.esri.com/en/technical-article/000024129).
|
Informações Adicionais
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.
Solução Provisória
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.
Etapas para Reproduzir