laptop and a wrench

Bug

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

Zuletzt veröffentlicht: April 18, 2023 ArcObjects SDK
Bug-ID-Nummer BUG-000155519
EingereichtFebruary 1, 2023
Zuletzt geändertJune 5, 2024
Gilt fürArcObjects SDK
Gefunden in Version10.8.1
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusNon-Reproducible

Zusätzliche Informationen

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);

Workaround

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);

Schritte zur Reproduzierung

Bug-ID: BUG-000155519

Software:

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