I’m facing same issue with this topic.
Jupyter Notebook unable to give output
I couldn’t find any reasonable solution to run the notebook except convert my notebook into script from command line to extract the code (and create another notebook, copy paste code, and so on)
Because the issue was due the fact my notebook was overloaded with images and accidentally some “df” and the dataframe was a little huge 20.000 records by 500 variables with long text.
Watching the size of the notebook, I realize it was increasing in memory, reaching 10G and without responsive.
My opinion, after analyzing the issue, I think we should be able to run the notebook in command line with kernel option “restart and clear output”.
So, if we could implement this solution, that would be great, that would be a real improvement and avoid us spending hours of work copying/pasting lines of code.
Where can we submit this request ?