DictionarySymbolStyle::fetchSymbol(...) does not release memory.
上次发布: July 12, 2018ArcGIS Runtime SDK
漏洞 ID 编号
BUG-000110609
已提交
January 5, 2018
上次修改时间
June 5, 2024
适用范围
ArcGIS Runtime SDK
找到的版本
100.2.0
操作系统
SUSE Linux
操作系统版本
N/A
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
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.
解决办法
Wait for each fetchSymbol operation to complete before firing off the next request.