You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been asked if it's possible to generate large zips in the browser. From my research, and experiments, it's starting to look like this is not what the platform is designed for. AFAIK if we attempt to generate large files (>= ~3 Gb) in the browser we'll run into memory issues / crashes. But I'm having difficultly confirming this with specifications, documentation, wikis, etc.
I was hoping the contributors might have an opinion on what is a reasonable upper limit? i.e. For files generated by jszip?
The text was updated successfully, but these errors were encountered:
on reddit talk about a 5mb size limit, is that true?
No. Perhaps it was true in the past but modern browsers can generate much larger zip files. In my tests I managed to generate a 10-20 GB zip.
However the browse does start to become unstable and will eventually crash. I was also using generated, as opposed to real, data so your mileage may vary.
In my scenario we moved away from generating the zip in a browse and settled on a dedicated desktop client which we wrote with Electron.
Using version 3.2.2 of jszip and streamsaver we managed to generate zip files in streaming in a vue app (in browser) using the generateNodeStream. Unfortunately with newer versions of jszip the generateNodeStream does not work in a browser (see #663 )
I've been asked if it's possible to generate large zips in the browser. From my research, and experiments, it's starting to look like this is not what the platform is designed for. AFAIK if we attempt to generate large files (>= ~3 Gb) in the browser we'll run into memory issues / crashes. But I'm having difficultly confirming this with specifications, documentation, wikis, etc.
I was hoping the contributors might have an opinion on what is a reasonable upper limit? i.e. For files generated by jszip?
The text was updated successfully, but these errors were encountered: