laptop and a wrench

漏洞

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

上次发布: April 18, 2023 ArcObjects SDK
漏洞 ID 编号 BUG-000155519
已提交February 1, 2023
上次修改时间June 5, 2024
适用范围ArcObjects SDK
找到的版本10.8.1
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Non-Reproducible

附加信息

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

解决办法

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

重现步骤

漏洞 ID: BUG-000155519

软件:

  • ArcObjects SDK

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项