Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

DependencyCollector for .NET Core: memory leak on netcoreapp1.1 and prior #514

Closed
lmolkova opened this issue Apr 27, 2017 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@lmolkova
Copy link
Member

DependencyCollector keeps pending telemetry list.
In BeginRequest event it adds telemetry to the concurrent dictionary
In EndRequest event it removes telemetry from the list.

However on netcoreapp1.1 and prior, EndRequest is not guaranteed. It's not fired for canceled and faulted (DNS, network issues, etc..) requests.

In every long running service this list will always grow. In case of massive network issues service may die because of OOM.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants