Skip to content

Potential memory leak #1940

@martinvisser

Description

@martinvisser

We're using Cloud Foundry's Java Buildpack to deploy our applications. During the latest platform upgrade we got the new version of splunk-otel-java, version 2.5.0.
According to the release, version 2.5.0 contains some breaking changes which on their own are resolvable. However, because we did not know we got this new version we only saw a huge increase in errors being logged about the exporter, logs like this:
io.opentelemetry.exporter.internal.http.HttpExporter - Failed to export spans. Server responded with HTTP status code 404. Error message: Unable to parse response body, HTTP status message:

I'd expect that that on its own would not cause trouble, but it seems that this now wrongly configured service might lead to a memory leak: at the same time we deployed a new Spring Boot application we started to see a rise in memory and CPU, eventually leading to crashes. We reverted back to an older deployment, but the results stayed the same: increase in memory and CPU.

After we reconfigured the service binding, by using the old values instead of the new defaults, the issues were gone.

We did not manage to reliably reproduce it and were not able to get heap dumps, because when a container crashes there's no more access to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    more-info-neededRequest for more information from issue author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions