Bug 171655 - FileReader.readAsArrayBuffer() - Reading large files causes memory leak
Summary: FileReader.readAsArrayBuffer() - Reading large files causes memory leak
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-05-04 06:42 PDT by Jake Archibald
Modified: 2019-01-07 09:27 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jake Archibald 2017-05-04 06:42:28 PDT
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
Comment 1 Radar WebKit Bug Importer 2017-05-04 22:52:58 PDT
<rdar://problem/32008798>
Comment 2 David Kilzer (:ddkilzer) 2019-01-07 09:27:55 PST
(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.