laptop and a wrench

Bogue

Parallel processing causes memory leaks when creating features using ArcObjects Geodatabase API.

Dernière publication: April 18, 2023 ArcObjects SDK
Numéro d’ID de bogue BUG-000155519
EnvoiFebruary 1, 2023
Dernière modificationJune 5, 2024
S’applique àArcObjects SDK
Version trouvée10.8.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutNon-Reproducible

Informations supplémentaires

Within the UpdateFeatureClass method, the updated row 'updateR' is not being managed correctly, but can be corrected with the following two ReleaseComObject calls: if (!isPlotShapeSuccess) { if (updateR != null) Marshal.ReleaseComObject(updateR); return false; } //try to update all changes at once with all the updated info. update.UpdateRow(updateR); if (updateR != null) Marshal.ReleaseComObject(updateR);

Solution de contournement

Within the UpdateFeatureClass method, the updated row 'updateR' is not being managed correctly, but can be corrected with the following two ReleaseComObject calls:

            if (!isPlotShapeSuccess)

            {

              if (updateR != null) Marshal.ReleaseComObject(updateR);

              return false;

            }

            //try to update all changes at once with all the updated info.

            update.UpdateRow(updateR);

            if (updateR != null) Marshal.ReleaseComObject(updateR);

Étapes pour reproduire

ID de bogue: BUG-000155519

Logiciel:

  • ArcObjects 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