laptop and a wrench

Bogue

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

ArcGIS Maps SDK for JavaScript
Numéro d’ID de bogue BUG-000172545
EnvoiNovember 22, 2024
Dernière modificationDecember 22, 2024
S’applique àArcGIS Maps SDK for JavaScript
Version trouvée4.30
Système d’exploitationApple MacOS
Version du système d’exploitationN/A
StatutUnder Consideration

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000172545

Logiciel:

  • ArcGIS Maps SDK for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement