Skip to content

com.datadog.debugger.exception potential memory leak #7880

@Manan-Kothari

Description

@Manan-Kothari

We upgraded our java tracing library using the admission controller on all of our java services about 2 weeks ago from 1.34.0 to 1.41.1 and we've noticed on a few of our services we're seeing OOMkills on our containers. After getting a heap dump and looking at it, it seems to be related to this

One instance of com.datadog.debugger.exception.ExceptionProbeManager loaded by datadog.trace.bootstrap.DatadogClassLoader @ 0x80901ca0 occupies 1,875,689,408 (90.67%) bytes. The memory is accumulated in one instance of com.datadog.debugger.util.WeakIdentityHashMap$Entry[], loaded by datadog.trace.bootstrap.DatadogClassLoader @ 0x80901ca0, which occupies 1,875,682,856 (90.67%) bytes.

Image

We're on Java 17 using this image eclipse-temurin:17.0.12_7-jre

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions