We are using Refinitiv .Net SDK in a service built on ASP.NET Core.
Following the examples provided, we create an `OmmConsumer`, subscribe to approximately 30,000 snapshot datapoints, and register a client to process incoming messages.
After all datapoints are received and processed, we uninitialize the consumer object.
All our other created supporting objects were disposed. Vast majority of these objects are properly garbage collected and removed from memory.
However, a large number of internal objects from the LSEG.* namespaces remain in memory and are not garbage collected.
This process is repeated multiple times in response to incoming requests from an API endpoint.
After each operation, the amount of memory occupied by LSEG.* objects increases significantly and is never freed, suggesting a potential memory leak within the SDK.
Are we doing something wrong?
What is the proper way of cleaning the memory in this scenario?
We use:
- SDK version: 3.4.0
- .NET version: 9