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

Notebook crashes trying to print a massive string #4903

Open
ssanyoq opened this issue Oct 17, 2024 · 0 comments
Open

Notebook crashes trying to print a massive string #4903

ssanyoq opened this issue Oct 17, 2024 · 0 comments
Labels

Comments

@ssanyoq
Copy link

ssanyoq commented Oct 17, 2024

Describe the current behavior
Google colab crashes if you try to print a huge string using command line tools

We parsed a file incorrectly, its first line is ~80MB long.
After running !cat file.csv | head -1 to check contents of this file, the Colab tab freezes completely and stays this way even after reloading the page

Describe the expected behavior
Either a "Line is too large to display"-type warning or just the absence of a crash

What web browser you are using
Chrome

Additional context
A link to a notebook that reproduces this issue
Warning: After singular crash, notebook continues to crash even after reloading, though there is a very small opportunity to delete
a cell that crashes Colab(the one with cat command)

@ssanyoq ssanyoq added the bug label Oct 17, 2024
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

1 participant