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.
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.