IOPub data rate exceeded Jupyter Notebook

Buy Me a Coffee☕ *My post explains how to solve IOPub data rate exceeded error on JupyterLab but it also works to Jupyter Notebook. I got the error below when using Jupyter Notebook on Anaconda on Windows: IOPub data rate exceeded. The Jupyter server will temporarily stop sending output to the client in order to avoid crashing it. To change this limit, set the config variable --ServerApp.iopub_data_rate_limit. Current values: ServerApp.iopub_data_rate_limit=1000000.0 (bytes/sec) ServerApp.rate_limit_window=3.0 (secs) So, I closed Jupyter Notebook on Chrome, then I ran the command below on Anaconda Prompt to generate jupyter_notebook_config.py to C:/Users//.jupyter/: jupyter notebook --generate-config Then, I found the line 827 below on jupyter_notebook_config.py: # c.ServerApp.iopub_data_rate_limit = 0.0 Then, I uncommented it, set 10000000 to it and save as shown below: *Memos: It's 1000000 by default. It also affects to JupyterLab. If there are both jupyter_notebook_config.py and jupyter_lab_config.py, the higher value of iopub_data_rate_limit is prioritized. c.ServerApp.iopub_data_rate_limit = 10000000 Finally, I reopened Jupyter Notebook on Chrome with Anaconda Navigator, then I couldn't get the error above.

Apr 18, 2025 - 15:01
 0
IOPub data rate exceeded Jupyter Notebook

Buy Me a Coffee

*My post explains how to solve IOPub data rate exceeded error on JupyterLab but it also works to Jupyter Notebook.

I got the error below when using Jupyter Notebook on Anaconda on Windows:

IOPub data rate exceeded.
The Jupyter server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
--ServerApp.iopub_data_rate_limit.

Current values:
ServerApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
ServerApp.rate_limit_window=3.0 (secs)

So, I closed Jupyter Notebook on Chrome, then I ran the command below on Anaconda Prompt to generate jupyter_notebook_config.py to C:/Users//.jupyter/:

jupyter notebook --generate-config

Then, I found the line 827 below on jupyter_notebook_config.py:

# c.ServerApp.iopub_data_rate_limit = 0.0

Then, I uncommented it, set 10000000 to it and save as shown below:
*Memos:

  • It's 1000000 by default.
  • It also affects to JupyterLab.
  • If there are both jupyter_notebook_config.py and jupyter_lab_config.py, the higher value of iopub_data_rate_limit is prioritized.
c.ServerApp.iopub_data_rate_limit = 10000000

Finally, I reopened Jupyter Notebook on Chrome with Anaconda Navigator, then I couldn't get the error above.