Announcing v0.2 of nbresuse (display memory usage in Notebook)

62 views
Skip to first unread message

Yuvi Panda

unread,
Apr 1, 2018, 6:16:45 PM4/1/18
to Project Jupyter
Hello!

I'm excited to announce v0.2 of the 'nbresuse' (classic) notebook
extension. This extension displays the amount of memory a user's
notebook (and spawned kernels) is using, and a possible memory limit
(enforced by a JupyterHub spawner, for example). This helps with a
very common problem when teaching classes - users run out of RAM but
there's no clear indication of this.

Primary changes in v0.2:

- Bugfixes to work outside of a JupyterHub environment
- Ability to flash a 'warning' sign when the user is close to or
exceed their memory limit
- A CONTRIBUTING.md!
- Configure settings from commandline / config file (via traitlets)

You can check the project out (including screenshots!) at
https://github.com/yuvipanda/nbresuse.

There's no JupyterLab extension available yet. The Javascript is
fairly small, so this might make a great first JupyterLab extension
project for someone ;)

Thanks!
--
Yuvi Panda T
http://yuvi.in/blog

Kyle Kelley

unread,
Apr 1, 2018, 8:00:25 PM4/1/18
to jup...@googlegroups.com
This is awesome. Would it be cool for the nteract extension to import and use the handlers for memory?

Long term I've wanted to use the protocol that Paul Ivanov and I mocked up, this would be really great to start integrating though.

-- Kyle

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAFw%3DySiOcDu6CUwYYRmq4_%2BGyAXy25j80L2He6KUeUqy1J%3DJog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
Kyle Kelley (@rgbkrklambdaops.com)

Erik Sundell

unread,
Apr 1, 2018, 11:39:38 PM4/1/18
to Project Jupyter
Wohooo excellent plugin!!
I have thought a lot about resource usage when considering how much my students will need doing certain tasks.
With a plugin like this it can be quite simple to make an informed decision. Thank you!

/ erik!

Yuvi Panda

unread,
Apr 2, 2018, 12:22:32 PM4/2/18
to Project Jupyter
On Sunday, 1 April 2018 17:00:25 UTC-7, rgbkrk wrote:
This is awesome. Would it be cool for the nteract extension to import and use the handlers for memory?


Absolutely, feel free! I plan on doing more work to add more useful metrics to this at some point.
Reply all
Reply to author
Forward
0 new messages