pineapple icon indicating copy to clipboard operation
pineapple copied to clipboard

PROBLEM: big output makes app non-responsive

Open nwhitehead opened this issue 10 years ago • 0 comments

If you output lots of stuff from a cell, and the output needs to be processed by the front-end, you can get in situations where the user interface is not responding for multiple seconds. For example,

def f(x): return f(x)

This causes a stack overflow with BIG backtrace. Syntax highlighting the backtrace takes a long time, UI is dead until it is processed and displayed.

What should happen: large output is chunked and processed bit by bit, or cut off. Or UI is on different thread, keeps being active while we wait.

Possible workaround: set much smaller stacksize for this specific problem.

nwhitehead avatar Sep 03 '15 05:09 nwhitehead