Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading notebook causes runaway memory consumption in Chrome #8016

Closed
dhermes opened this issue Mar 11, 2015 · 9 comments
Closed

Loading notebook causes runaway memory consumption in Chrome #8016

dhermes opened this issue Mar 11, 2015 · 9 comments
Labels
Milestone

Comments

@dhermes
Copy link
Contributor

dhermes commented Mar 11, 2015

This was a student's submission in Math 228B at Berkeley (I am the GSI / grader).

It is pegging 100% of CPU and failing to load:
screen_shot_001

I have been trying to diagnose the issue but can't place it. For the student's privacy I am avoiding uploading the file, but would be happy to email to someone personally.


The notebook is in v3 format. I tested both in IPython 2.4.1 and IPython 3.0.

@Carreau
Copy link
Member

Carreau commented Mar 11, 2015

Sure, mbussonnier(at)berkeley.edu or even security(at)ipython.org and ref the issue.

@dhermes
Copy link
Contributor Author

dhermes commented Mar 11, 2015

Sent. Thanks for the quick ack.

@rgbkrk
Copy link
Member

rgbkrk commented Mar 11, 2015

Nice, this notebook makes a tmpnb server slow to a crawl (but not the overall system - yay for resource limits).

@Carreau
Copy link
Member

Carreau commented Mar 11, 2015

Too many stream output,

I'm collapsing them, and sending back a working version.

M
Le 10 mars 2015 à 17:34, Kyle Kelley notifications@github.com a écrit :

Nice, this notebook makes a tmpnb server slow to a crawl (but not the overall system - yay for resource limits).


Reply to this email directly or view it on GitHub.

@dhermes
Copy link
Contributor Author

dhermes commented Mar 11, 2015

That's what I figured it was. It seems strange that such a notebook was able to be created.

@Carreau
Copy link
Member

Carreau commented Mar 11, 2015

Le 10 mars 2015 à 17:37, Danny Hermes notifications@github.com a écrit :

That's what I figured it was. It seems strange that such a notebook was able to be created.

No, I think this is because Browser have just lots of dom nodes to be created at once.
If you do it progressively should be fine.

I send you a comprised stream version.

This should not happened on IPython 3.

M

@dhermes
Copy link
Contributor Author

dhermes commented Mar 11, 2015

Thanks guys!

Feel free to close out if you don't think the rewrite should occur as in ipython nbconvert --to notebook does.

@takluyver takluyver added this to the not ipython milestone Jan 26, 2016
@Carreau
Copy link
Member

Carreau commented Jul 23, 2017

Closing as this issue is not in IPython itself and if still problematic and relevant should be opened on the right repository. This will allow to keep the number of opened issue on the IPython repo under control.

Feel free to keep commenting or reopen if necessary.

Thanks.

@Carreau Carreau closed this as completed Jul 23, 2017
@dhermes
Copy link
Contributor Author

dhermes commented Jul 23, 2017

WFM, thanks for all you do @Carreau!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants