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

No update of memory usage #220

Open
Kexiii opened this issue Nov 4, 2023 · 2 comments
Open

No update of memory usage #220

Kexiii opened this issue Nov 4, 2023 · 2 comments
Labels

Comments

@Kexiii
Copy link

Kexiii commented Nov 4, 2023

Description

Memory Usage is not working in my environment

Reproduce

Screen Shot 2023-11-04 at 10 55 43
The memory usage is not working and won't update when I run code in cell, and I got this error message in jupyter console, I don't know if it's related:

[IPKernelApp] ERROR | Exception in control handler:
Traceback (most recent call last):
  File "*/Python/3.8/lib/python/site-packages/ipykernel/kernelbase.py", line 334, in process_control
    await result
  File "*/Python/3.8/lib/python/site-packages/ipykernel/kernelbase.py", line 986, in usage_request
    reply_content["kernel_memory"] = sum(
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'

Context

jupyter-resource-usage    1.0.1

IPython          : 8.4.0
ipykernel        : 6.15.1
ipywidgets       : 7.7.1
jupyter_client   : 8.3.0
jupyter_core     : 5.3.1
jupyter_server   : 2.7.0
jupyterlab       : 4.0.4
nbclient         : 0.6.6
nbconvert        : 6.5.0
nbformat         : 5.4.0
notebook         : 7.0.6
qtconsole        : 5.3.1
traitlets        : 5.9.0
@Kexiii Kexiii added the bug label Nov 4, 2023
Copy link

welcome bot commented Nov 4, 2023

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! 🎉

@z0gSh1u
Copy link

z0gSh1u commented Aug 21, 2024

Same issue. It seems some process the kernel tallys memory for is already terminated, causing a None entry in summed items.

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

No branches or pull requests

2 participants