1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

jupyter notebookクラシングの解決策

Last updated at Posted at 2021-09-10

jupyter notebookを大容量なデータをprintしパナしすると、メモリオーバになって、Webページがクラッシュする問題について

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

解決策1 
jupyter notebook --NotebookApp.iopub_data_rate_limit=1e10

jupyter-lab --NotebookApp.iopub_data_rate_limit=1e10

解決策2
vi /root/.jupyter/jupyter_notebook_config.py を開いて、以下の設定を変更
c.NotebookApp.iopub_data_rate_limit = 100000000

**一番重要なポイント
大きいサイズの行列をprintしパナっしないこと

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?