-
Notifications
You must be signed in to change notification settings - Fork 19
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
解析一个5M的文件,浏览器就崩溃了 (When parsing a 5M file, the browser crashes [?]) #26
Comments
Thanks for the report, but I'm afraid I don't speak mandarin. I've amended the title to the google translate translation: "When parsing a 5M file, the browser crashes",
Below is an automated translation of my response: 谢谢你的报告,但恐怕我不会说普通话。 我把标题修改为google翻译的翻译:“解析5M文件时,浏览器崩溃”,
|
I wrote this page and I will attempt to help. What I see is that the browser didn't crash. It hit an internal JavaScript processing timeout, stopped, and displayed the error. I tried to reproduce it on all the browsers I have using 5-10 MB files, and they all worked fine. While it may be possible to change the page to process the file in parts, it would be a major effort. However, it may be possible to avoid the problem by using a different browser, or changing the JavaScript timeout -- something that some browsers allow to do. @dengnanhao, please try this and please provide us the data on your system, as @a2800276 suggested above. 我写了这个页面,我会回应。 |
Thank you very much for your reply. @rom-p @a2800276 The actual file size is close to 50MB. This is due to my calculation error and caused inconvenience to everyone. I am very sorry. My testing environment:
You are correct. In actual testing, files with a size of 5-10M can be parsed @rom-p . The first time I tested the file, the actual size was over 49M, close to 50M. During parsing, I timed out and waited for three consecutive times, causing the browser to crash. |
The text was updated successfully, but these errors were encountered: