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
JSZip.utils.transformTo uses too much memory in Chrome #260
Comments
|
Also, |
OK. Thank you for looking into this! |
If you use only |
Acknowledged. Thanks! |
Given a Uint8Array containing 70,000,000 char codes (~67 MiB), JSZip.utils.transformTo('string', array) runs out of memory on Chrome (needs more than 1,413 MiB RAM).
This can easily be fixed by using TextDecoder instead of String.fromCharCode (if available). See catapult-project/catapult#2051 and https://codereview.chromium.org/1739663003/ for more details.
The text was updated successfully, but these errors were encountered: