Che: Opening large file crashes browser

Created on 24 May 2017  路  8Comments  路  Source: eclipse/che

Opening (or copying and pasting) a large file into Che will crash the browser tab.

Reproduction Steps:
Upload the file below from the AWS SDK into a Che project and try to open it.

https://raw.githubusercontent.com/aws/aws-sdk-php/master/src/data/iam/2010-05-08/api-2.json.php

OS and version:
Eclipse Che 5.10.0

kinbug severitP1 statublocked targeche6 teaplugins

Most helpful comment

@vparfonov since this is a bug in Orion and it does not look like there will be a prompt resolution, why don't we at least warn a user trying to open such a file? Smth like a popup with a warning: File $filename contains abnormally long lines which may result in IDE freezing

Monaco editor in Theia seems to handle such files without any issues.

All 8 comments

@vparfonov should we investigate? Che used to handle big files quite gracefully.

Still experiencing this in 5.15, also > 2000 lines in a file crashes the browser.

This is still crashing in 5.19

I've investigated this bug, cause of the problem is: file has very long lines and originally this is bug of Orion

Still actual for ver.6.5.0

@vkuznyetsov why you consider this issue as a blocker?

@vparfonov since this is a bug in Orion and it does not look like there will be a prompt resolution, why don't we at least warn a user trying to open such a file? Smth like a popup with a warning: File $filename contains abnormally long lines which may result in IDE freezing

Monaco editor in Theia seems to handle such files without any issues.

not actual

Was this page helpful?
0 / 5 - 0 ratings