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

Simple server wide memory profiler #10444

Merged
merged 1 commit into from
Apr 22, 2020
Merged

Conversation

alexey-milovidov
Copy link
Member

Changelog category (leave one):

  • New Feature

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Add simple server wide memory profiler that will collect allocation contexts when server memory usage becomes higher than the next allocation threshold. Currently the use of this profiler is limited because it only collects allocations in contexts when memory tracker is available. It's also limited because it fires only when peak memory usage is changed, so the possibility to detect small leaks is in question.

@alexey-milovidov alexey-milovidov added the pr-feature Pull request with new product feature label Apr 22, 2020
@alexey-milovidov
Copy link
Member Author

alexey-milovidov commented Apr 22, 2020

Maybe we need to sample allocations and deallocations randomly (weighted by bytes) instead of using the change in peak memory usage.

@alexey-milovidov alexey-milovidov merged commit fd27ce6 into master Apr 22, 2020
@alexey-milovidov alexey-milovidov deleted the server-memory-profiler branch April 22, 2020 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-docs-needed pr-feature Pull request with new product feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants