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

[Bug] auto_roll_logger memory leak #13379

Open
yizhang2077 opened this issue Feb 7, 2025 · 0 comments
Open

[Bug] auto_roll_logger memory leak #13379

yizhang2077 opened this issue Feb 7, 2025 · 0 comments

Comments

@yizhang2077
Copy link

yizhang2077 commented Feb 7, 2025

Description

headers_.push_back(data);

Hi. In auto roll logger, I find there is no place to reset headers_ or pop headers_ elements which may cause memory leak and cause WriteHeaderInfo write larger and larger content as headers_ grows. I don't know if my understanding is correct.

Reproduction way

Create column family and drop this column family many times (like 3000 times), you may find LOG grow up very fast and consume most of bandwidth of disk and there are many useless information in LOG, which are caused by headers_

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