Skip to content

[BUG] Possible memory leak on AspNetCoreDiagnosticListener  #1676

@nugroho-exp

Description

@nugroho-exp

APM Agent version

1.14.1

Environment

Operating system and version:
Linux (dockerized)

.NET Framework/Core name and version (e.g. .NET 4.6.1, NET Core 3.1.100) :
.NET 6

Application Target Framework(s) (e.g. net461, netcoreapp3.1):
net6.0

SpanCompression is enabled.

Describe the bug

Our application memory keeps growing and ended up with OutOfMemoryException error.

Please see the attached dotMemory screenshot. It looks like AspNetCoreDiagnosticListener consume 695MB in _processingRequests and does not release it.

image

Created dashboard using TSVB from APM metrics

image

Could you please check.

Thank you.
Nugroho

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions