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

Improvements to memory tracking #917

Merged
merged 7 commits into from
Jan 22, 2022
Merged

Improvements to memory tracking #917

merged 7 commits into from
Jan 22, 2022

Conversation

josevalim
Copy link
Contributor

  • Address race condition on cancel timer
  • Include memory measurement as part of evaluation metadata
  • Move periodic resource computation to a single process
  • Have a explicit call out for total memory

In particular, I noticed the way I chose to display information is confusing when the runtime uses more memory than memory available:

Screenshot 2022-01-22 at 15 58 46

I decided to follow to the dashboard and keep the total explicitly separate:

Screenshot 2022-01-22 at 16 37 20

At the top, we only show the memory available, as showing "13.8 GB / 16.0 GB" could be confusing about which memory we are talking about.

* Address race condition on cancel timer
* Include memory measurement as part of evaluation metadata
* Move periodic resource computation to a single process
* Have a explicit call out for total memory
@josevalim
Copy link
Contributor Author

@jonatanklosko all comments addressed.

Copy link
Member

@jonatanklosko jonatanklosko left a comment

Choose a reason for hiding this comment

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

Great, ship it and I will rebase the other PR!

@josevalim josevalim merged commit 70a9a95 into main Jan 22, 2022
@josevalim
Copy link
Contributor Author

💚 💙 💜 💛 ❤️

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