laptop and a wrench

Bug

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

Zuletzt veröffentlicht: November 13, 2020 ArcGIS Runtime SDK
Bug-ID-Nummer BUG-000134864
EingereichtOctober 23, 2020
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Runtime SDK
Gefunden in Version100.4
BetriebssystemWindows OS
Betriebssystemversion2008 R2 64 Bit
StatusNon-Reproducible

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000134864

Software:

  • ArcGIS Runtime SDK

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln