Sitelet https://github.com/Microsoft/ApplicationInsights-dotnet-server/issues/554
Skip to content
This repository was archived by the owner on Jul 5, 2020. It is now read-only.
This repository was archived by the owner on Jul 5, 2020. It is now read-only.

Memory leak with MemoryCache #554

Description

After PR #516 , there are multiple readers/writers to the MemoryCache - EventSource processing and DiagnosticListener processing. Its not fully understood, but there seems to be a huge memory leak and dumps show MemoryCache is the cause. The items count in cache never goes above the expected value, but their memory usage keeps increasing forever.

Replacing mem cache with own implementation is fixing this problem. Opening this GH issue to understand the issue better or to see if we can live with custom implementation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions