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

Memory usage should include swap #109

Open
atpage opened this issue Aug 23, 2021 · 1 comment
Open

Memory usage should include swap #109

atpage opened this issue Aug 23, 2021 · 1 comment

Comments

@atpage
Copy link

atpage commented Aug 23, 2021

Problem

As documented in the README, memory usage only includes RSS. But it would be very helpful for swap space used by Jupyter kernels to be included in this metric.

I recently noticed very high memory and swap usage on my machine, mainly due to Jupyter notebooks, even though the "Memory:" display in Jupyterhub was reporting a much smaller number. This was because much of the Jupyer kernel memory had been swapped. In this scenario, killing kernels can free significant amounts of memory (i.e. swap) while the memory display in Jupyterhub remains static.

Proposed Solution

jupyter-resource-usage should account for all memory usage. I don't know exactly what is needed to make this happen, but I'm happy to help.

@welcome
Copy link

welcome bot commented Aug 23, 2021

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant