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

fix: decrease runtime circular buffer for diagnostics client #3491

Merged
merged 4 commits into from
Jul 16, 2024

Conversation

vaind
Copy link
Collaborator

@vaind vaind commented Jul 16, 2024

This decreases memory usage (doesn't solve #3407 though)

As for the actual number, it is arbitrary as I haven't found a way to determine a number small enough for all scenarios (number of events per sec/a.k.a. load) that we may encounter.

@vaind vaind marked this pull request as ready for review July 16, 2024 08:50
@bitsandfoxes
Copy link
Contributor

Any idea of the actual impact? Other than "better"?

@vaind
Copy link
Collaborator Author

vaind commented Jul 16, 2024

Diagnostic client memory usage grows slowly (based on the cadence of events) by the size of the circullar buffer. So 240 MB lower now

@vaind vaind merged commit 96a116c into main Jul 16, 2024
23 checks passed
@vaind vaind deleted the chore/profiler-buffer-change branch July 16, 2024 13:44
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.

2 participants