-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zipping large file 3.5 GB memory issue #116
Comments
@eligrey any idea looking at the code here? |
Assuming that openDB is implemented correctly, I would guess that |
I have tried and removed the console.log() and still get the same error. |
I found the cause why the memory issue occors. It is becasue im not using fetch im using a filebrowser then trying to merge the File objects to a readablestream. Then when conflux is trying to transform my stream it gets this error.
Is there anywayt too zip multple files directly from the filebrowser without fetching them elsewhere? |
Im trying to zip a large file with streams and while reading the stream I chunk the large ziped file and inserting it to indexedDB. And getting this error
conflux.esm.js:815 Uncaught (in promise) RangeError: Array buffer allocation failed
at ZipTransformer._callee$ (conflux.esm.js:815:31)
Cant the lib handle large zip files? or Im i doing things wrong.
This is my code.
The text was updated successfully, but these errors were encountered: