jupyter / jupyter/notebook

Jupyter Notebook very slow and unable to save and run large sized files

Open
#4,841 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

Hey there

I am stuck here trying to deal with large python files and run each cell after, this one that i am working have ~70,1KB and when i open it it takes a long time waiting localhost and socket be available, and some seconds (sometimes more minutes loading extensions [MathJax]/extensions/Safe.js), when there are lots of outputs in the file it crashes the jupyter notebook, but recently i have closed them through this command in cmd: jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace Notebook.ipynb from this link: [https://stackoverflow.com/questions/28908319/how-to-clear-an-ipython-notebooks-output-in-all-cells-from-the-linux-terminal](url) and so i was possible to open it with less delay, in compensation, to save and checkpoint and interrupt the kernel the process turns more drastic(these buttons keep blue how they are being clicked and nothing happen), and i finish being supposed to copy them in my notepad separatedly and so, run one by one in another Python3 notebook. Do you know any technique or procedure to fix this Jupyter Notebook slowness and make it faster, or it has something to do with the pc performance? Thanks in advance

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.