laptop and a wrench

Erro

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

ArcGIS Maps SDK for JavaScript
Número de ID do Erro BUG-000172545
EnviadoNovember 22, 2024
Última ModificaçãoDecember 22, 2024
Aplica-se àArcGIS Maps SDK for JavaScript
Versão encontrada4.30
Sistema OperacionalApple MacOS
Versão do Sistema OperacionalN/A
StatusUnder Consideration

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

ID do Erro: BUG-000172545

Software:

  • ArcGIS Maps SDK for JavaScript

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download