laptop and a wrench

Bogue

Releasing memory pointing to a raster layer causes an error.

Dernière publication: June 30, 2020 ArcGIS Runtime SDK
Numéro d’ID de bogue BUG-000114021
EnvoiMay 16, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS Runtime SDK
Version trouvée100.2.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutKnown Limit

Informations supplémentaires

The problem occurs when the raster dataset has been removed from the layer but the .NET garbage collection has not yet destroyed the raster object. To trigger the garbage collection in order to delete files, it may be necessary to call GC.Collect e.g.: ``` ... GC.Collect(); GC.WaitForPendingFinalizers(); GC.Collect(); try { if (File.Exists(tifFile)) { File.Delete(tifFile); } } catch (Exception e) { // TODO... } ... ```

Étapes pour reproduire

ID de bogue: BUG-000114021

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