laptop and a wrench

Bug

DictionarySymbolStyle::fetchSymbol(...) does not release memory.

Last Published: July 12, 2018 ArcGIS Runtime SDK
Bug ID Number BUG-000110609
SubmittedJanuary 5, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.2.0
Operating SystemSUSE Linux
Operating System VersionN/A
StatusKnown Limit

Additional Information

This is working as expected. Memory usage does increase as more tasks are executed, but the memory is eventually freed. The tasks run slower in Debug mode, so this further exacerbates the issue and gives the impression that memory is not freed. Here are a couple of ideas for capping the memory usage: - Run the workflow synchronously. From our testing, there is not a noticeable performance hit than the async workflow and it caps memory usage. - Put a limit on the number of async tasks being run concurrently. For example, only allow 10 or 20 async tasks to be run concurrently. The app developer can customize this to their liking to keep memory usage in check.

Workaround

Wait for each fetchSymbol operation to complete before firing off the next request.

Steps to Reproduce

Bug ID: BUG-000110609

Software:

  • ArcGIS Runtime SDK

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