Bug 171655
Summary: | FileReader.readAsArrayBuffer() - Reading large files causes memory leak | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jake Archibald <jaffathecake> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | achristensen, ap, beidson, cdumez, ddkilzer, webkit-bug-importer, youennf |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.chromium.org/p/chromium/issues/detail?id=674903 |
Jake Archibald
http://jsbin.com/cekequd/quiet. Give the top input a large file & watch the console.
Firefox completes in ~500ms for a 900mb file, whereas Safari chugs along then crashes.
Notably, Firefox doesn't offer result in progress events, which may be related.
This may involve a change to the spec https://github.com/w3c/FileAPI/issues/79.
This appears to be the same as Chrome bug https://bugs.chromium.org/p/chromium/issues/detail?id=674903
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/32008798>
David Kilzer (:ddkilzer)
(In reply to Jake Archibald from comment #0)
> This appears to be the same as Chrome bug
> https://bugs.chromium.org/p/chromium/issues/detail?id=674903
FYI, Chrome closed their bug as WONTFIX.