Live data from Hacker News

DropzoneJs – drag-and-drop file uploads with image previews

dropzonejs.com

1–10 of 33 posts

Re: DropzoneJs – drag-and-drop file uploads with image previews

#7
I would like to use this in a site where we print physical photos (all that exist are in flash). As soon as i select 100 images ate the same time it crashes all my browsers. (Eg: FireFox went up to 3Gb of used memory and then crashed)

Try this:

Use Settimeout on a loop when generating the thumbnails so the browser is more responsive when you upload dozens of large images.

Also the memory usage is way too large. The GC takes a while to kick in on all the canvases. Have you tried reusing the canvases?

Also IE limits the memory you can use in canvas, when i upload multiple files at the same time i get:

build.js, line 1191 character 9 SCRIPT14: Not enough storage is available to complete this operation.

And only 5 thumbnails got generated.

I looked into this and there is not much you can do i think.

Post reply on HN