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

KafkaMetricMeterTypeBuilder $$Lambda Leak? #1123

Open
erkieh opened this issue Dec 19, 2024 · 0 comments
Open

KafkaMetricMeterTypeBuilder $$Lambda Leak? #1123

erkieh opened this issue Dec 19, 2024 · 0 comments

Comments

@erkieh
Copy link

erkieh commented Dec 19, 2024

Expected Behavior

JVM Heap usage not increasing

Actual Behaviour

I have noticed that in environments where we have not disabled kafka metrics, the memory usage creeps up.

Dumps show a large retained memory allocation for
KafkaMetricMeterTypeBuilder$$Lambda
KafkaMetricMeterTypeBuilder
and
KafkaMetricMeterTypeRegistry
instances.

Also a large amount of KafkaMetricMeterType-s
image
image

Steps To Reproduce

I am not sure if it is relevant but we do have some Kafka group rebalancing events going on.

Environment Information

Alpine Linux
Kotlin 2.1
Java 21

Example Application

No response

Version

4.7.1

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

1 participant