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

[Enhancement] Make autoDeleteUnusedStats config default to true #8432

Closed
1 task done
RongtongJin opened this issue Jul 23, 2024 · 0 comments · Fixed by #8431
Closed
1 task done

[Enhancement] Make autoDeleteUnusedStats config default to true #8432

RongtongJin opened this issue Jul 23, 2024 · 0 comments · Fixed by #8431

Comments

@RongtongJin
Copy link
Contributor

RongtongJin commented Jul 23, 2024

Before Creating the Enhancement Request

  • I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary

When the broker runs for an extended period and topics and subscriptions are frequently created and deleted, we notice a significant amount of stats information lingering in memory. This leads to high memory usage and even full garbage collection (FGC). I believe it is necessary to set autoDeleteUnusedStats to true by default, to promptly clean up these unused stats information

Motivation

When the broker runs for an extended period and topics and subscriptions are frequently created and deleted, we notice a significant amount of stats information lingering in memory. This leads to high memory usage and even full garbage collection (FGC). I believe it is necessary to set autoDeleteUnusedStats to true by default, to promptly clean up these unused stats information.

image

Describe the Solution You'd Like

Make autoDeleteUnusedStats config default to true

Describe Alternatives You've Considered

No

Additional Context

No

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

Successfully merging a pull request may close this issue.

1 participant