-
Notifications
You must be signed in to change notification settings - Fork 16
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
Out of memory issue #8
Comments
This line seems to be the culprit. This library is preventing the image blobs from being deallocated because it calls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have to say this is indeed a great tool for downscaling image. The downscale.js has better balance between processing speed and image quality. However, I encountered two problem when using the downscale.js. The major problem is that it is very memory consuming. Even only one photo (about 10m size, 6000 X 4000px), it consumes 100m memory. It seems the memory (probably the ImageData variables) is not freed properly. I tested the provided demo (https://ytiurin.github.io/downscale/demo/multiselect.html) and I chose 10 photos (taken by camera, all about 10m size, 6000 X 4000px), then the browser will crash and report ‘out of memory’ error. The second problem is that the downscale.js doesn’t support IE (IE10 or IE11), it will report ImageData not support error. I am not proficient in this area, so could you kindly help to check these problems? Thank you!
The text was updated successfully, but these errors were encountered: