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しパナっしないこと