plupload icon indicating copy to clipboard operation
plupload copied to clipboard

Does the HTML5 runtime handle chunking correctly?

Open jmzrlz opened this issue 13 years ago • 3 comments

I currently have only the flash runtime enabled as I assumed based on some post I read somewhere, that the HTML5 runtime will read the entire file into memory. Is this true?

Seeing as there is a slice() method in the HTML5 file API, I would expect it to have no such memory issues? Or is it enabled because support for the API isn't available fully in all browsers yet?

jmzrlz avatar Sep 28 '13 17:09 jmzrlz

slice() is pretty wide-spread nowadays and is recommended way to deal with uploading of huge files in html5. For Flash it is opposite. Here is a summary of some complications around the topic: When to use chunking and when not?

jayarjo avatar Sep 28 '13 18:09 jayarjo

So in the case that most uploaded files are 1GB+, it would be best to use chunking. But will both of the said runtimes handle it correctly/efficiently enough?

Ah nevermind, I see, flash will put the entire file into memory. Not so great.

jmzrlz avatar Sep 28 '13 18:09 jmzrlz

Silverlight handles it properly though.

jayarjo avatar Sep 29 '13 07:09 jayarjo