laptop and a wrench

Bogue

The memory is not completely released by ArcGIS Runtime SDK for Java when adding and removing graphics from a GraphicsOverlay.

Dernière publication: November 13, 2020 ArcGIS Runtime SDK
Numéro d’ID de bogue BUG-000134864
EnvoiOctober 23, 2020
Dernière modificationJune 5, 2024
S’applique àArcGIS Runtime SDK
Version trouvée100.4
Système d’exploitationWindows OS
Version du système d’exploitation2008 R2 64 Bit
StatutNon-Reproducible

Informations supplémentaires

Memory management in Java apps is not as simple as suggested in this scenario. If the user allocates a load of resources in a Java app then releases them, the user can’t expect an immediate drop in the memory footprint of the app running on their machine. This is not how memory is controlled in a managed environment like a Java Virtual Machine (JVM). The memory is released when the JVM decides it is time to perform a garbage collection. We have no control over this, the JVM does this in the background when it decides the time is right and cannot predict when it is going to happen. Forcing a garbage collection in code (which is exceedingly bad practice) does not even free up memory.

Étapes pour reproduire

ID de bogue: BUG-000134864

Logiciel:

  • ArcGIS Runtime SDK

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