Javascript FileSaver saves empty files after writing large number of files
Use JSZip, it won't use too much memory if you disable compression (which is the default). To manually disable compression anyways, make sure to pass compression: "STORE"
when calling zip.generate()
.
I ended up modifying FileSaver.js (see "EDIT 2" in the original post).