laptop and a wrench

Bug

There is a memory leak when setting maxSegmentLength to numbers close to zero in geodesicUtils.geodesicDensify() in ArcGIS API for JavaScript.

Last Published: July 29, 2021 ArcGIS API for JavaScript
Bug ID Number BUG-000140594
SubmittedJune 9, 2021
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.19
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

This is more of an application-level issue and not directly specific to ArcGIS API for JavaScript. The actual function is running as expected. The memory will go up in an app like this as there is a considerable amount of lines and identifying must be implemented using fewer vertices.

Workaround

Use ArcGIS API for JavaScript 4.18 or larger numbers in maxSegmentLength.

Steps to Reproduce

Bug ID: BUG-000140594

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options