4 ms·
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
by popotamonga 13y ago
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.
- thejosh 13y agoWould love a way to easily upload hundreds of uploads that doesn't rely on clunky methods. Have the resort to FTP then processing off that which is a PITA.
- acdha 13y agoI've been meaning to compare with https://github.com/cinely/mule-uploader https://github.com/cinely/mule-uploader which seems to be more focused on robustness.