XMLHttpRequest crash tab when post file bigger than 150mb
Reported by
t.belous...@dglogik.com,
Aug 16 2017
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36 Steps to reproduce the problem: 1. run example at https://codepen.io/tbelousova/pen/wqPQbE 2. select file bigger than 150mb 3. wait for while till tab crash What is the expected behavior? No tab crash What went wrong? Tab is crashed, probably due to running out of memory (new Chrome helper process with massive memory consumption) Did this work before? N/A Chrome version: 60.0.3112.90 Channel: stable OS Version: OS X 10.12.6 Flash Version: Tab is crashed in Windows and Mac Chrome. Nothing happens in Safari 10.1.2, Firefox 53.0.3
,
Aug 17 2017
It looks a FileReader issue, or an XHR issue.
,
Aug 17 2017
In this case the file is completely loaded into an ArrayBuffer before the request is issued, so it's not a problem with FileReader. As said in #1, the problem is that we're sending the ArrayBuffer in one ResourceHostMsg_RequestResource IPC, and there's a 128MB IPC limit. This could be fixed in the XMLHttpRequest code by turning large ArrayBuffers into a Blob or something like that, or more generally in the loader code.
,
Aug 20
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 22
,
Sep 11
Please fix it!!!!! Its breaking our system and very critical to get it fixed ASAP.. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by bokan@chromium.org
, Aug 16 2017Labels: OS-Linux
Status: Untriaged (was: Unconfirmed)