Skip to content

Conversation

@YenchangChan
Copy link
Contributor

Fixed #1048 memleak for create a TimeTicker without stop

Copy link
Contributor

@sysadmind sysadmind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit needs the DCO to pass checks. You should be able to git commit --ammend --signoff.

While I agree that this change is positive, I don't think this will solve a memory problem. The Run function is only ever called once from main.go, so I don't see how we could make multiple timers. I suspect something else is going on here. Really glad to see that pprof is helping here!

Signed-off-by: YenchangChan <chenyanchang1990@163.com>
@sysadmind sysadmind merged commit 8a1d851 into prometheus-community:master Jun 18, 2025
9 checks passed
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

Successfully merging this pull request may close these issues.

Serious memory leak issue

2 participants