Open atpage opened 3 years ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
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.
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! :wave:
Welcome to the Jupyter community! :tada:
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.