Midhun Mathew Sunny
Midhun Mathew Sunny

Reputation: 1361

How can we configure the cpu and memory resources for Jupyter notebook

I am new to using Jupyter notebook. I have installed Jupyter using Anaconda and have set up a jupyter server. I wanted to control the cpu and memory available for Jupyter. Is there any configuration for doing that? What is the best way to achieve this.

Thanks

Upvotes: 8

Views: 8605

Answers (1)

evaleria
evaleria

Reputation: 1411

You can specify CPU limit to Jupyter notebook process using

sudo cpulimit -l 100 -p <PID>

where PID is ID of your process, -l is for limit, you can read man page to learn how to use it.

Upvotes: 1

Related Questions