Numéro d’ID de bogue |
BUG-000172545 |
Envoi | November 22, 2024 |
Dernière modification | December 22, 2024 |
S’applique à | ArcGIS Maps SDK for JavaScript |
Version trouvée | 4.30 |
Système d’exploitation | Apple MacOS |
Version du système d’exploitation | N/A |
Statut | Under Consideration
Le problème a été examiné par l’équipe de développement. Il n’a pas été défini comme prioritaire dans un plan de version, mais un suivi va être mis en place pour déterminer son impact global. Les facteurs pris en compte dans le processus de hiérarchisation sont, entre autres, le nombre d’utilisateurs concernés ou à l’origine de la demande, l’impact sur les activités et l’existence d’une solution de contournement. Si un bogue a des effets négatifs sur vos activités, reportez-vous à la procédure de réaffectation d’un défaut (https://support.esri.com/en/technical-article/000024129).
|
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