Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Manan-Kothari opened this issue Nov 4, 2024 · 4 comments
Open

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

Manan-Kothari opened this issue Nov 4, 2024 · 4 comments
Assignees

Comments

@Manan-Kothari
Copy link

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

@jpbempel jpbempel self-assigned this Nov 4, 2024
@jpbempel
Copy link
Member

jpbempel commented Nov 4, 2024

Thanks for raising this issue, we will look into that.

@jpbempel
Copy link
Member

jpbempel commented Nov 5, 2024

Hi @Manan-Kothari , you can disable the Exception Replay feature to avoid this mem leak in the meantime

@Manan-Kothari
Copy link
Author

Will do, and thanks for the quick update.

@jpbempel
Copy link
Member

jpbempel commented Nov 5, 2024

we have merged the fix into master in #7885

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

No branches or pull requests

2 participants