IPython Notebook Chrome Bad Tabs

Iโ€™m doing some work in an IPython laptop session, and now I have a large notepad containing code, some plots and some embedded videos (from the plot stacks, it seemed that the easiest way to scroll through a series of graphs was interactive in the โ€œNotebookโ€ view). I work in Chrome (Mac, 32.0.1700.102), since H.264 encoding worked better (Vp8 squeezed the shading details on the graphs I needed), and Safari and Firefox do not display video.

Recently, this laptop started breaking Chrome tabs every couple of minutes (showing the "Aw Snap" page). It becomes mostly unusable. I can work, saving very often, but saving the laptop will crash on the Chrome tab in about half the cases (which makes me wonder if there are any random crashes that occur when working due to autosave, but I donโ€™t know).

Has anyone else come across this? Does anyone know how to fix this? Is there any other information I can provide to diagnose the problem? Thanks for any help.

+7
google-chrome ipython ipython-notebook
source share
2 answers

I had the same problem. In fact, I found that this is due to the installed chromium extensions.

Try disabling all extensions and re-enabling them one by one. You will find that your tab crashes. In my case, the crashes were related to the Evernote extension.

Alternatively, you can open an incognito window, which is disabled by default for all extensions, and try opening your laptop there.

Ciao

0
source share

I had the same issue in 32-bit Chrome on my Windows 8.1 Enterprise PC. Chrome often crashed when working with a large jupyter laptop (~ 100 MB on disk). It got a little better after upgrading my chrome to a 64-bit version. However, jupyter still complained about the size of the laptops, crashed from time to time, and my laptops could not be saved. This question was discussed here:

https://github.com/jupyter/notebook/issues/650

The quick fix suggested here was to increase the value of self.max_buffer_size in env / Lib / site-packages / tornado / iostream.py (line 154, in the case of tornado version 4.4.2). I changed the value of x10, and now a laptop larger than 130 MB works without any problems.

0
source share

All Articles