laptop and a wrench

Error

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

Última publicación: April 18, 2023 ArcObjects SDK
Número de ID del error BUG-000155519
EnviadoFebruary 1, 2023
Última modificaciónJune 5, 2024
Relacionado conArcObjects SDK
Versión encontrada10.8.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoNon-Reproducible

Información adicional

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

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000155519

Software:

  • ArcObjects SDK

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga