-
Notifications
You must be signed in to change notification settings - Fork 973
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
Memory usage #11
Comments
There is only a 32bit version for windows currently.I think it would help if you could provide the photo. |
Unfortunately the file is pretty large, so I put it on my website: |
I've encoded that image on 64bit linux. It seems that it uses north of 5GB of memory, so it would use not less than half of that on a 32bit system (and likely much more than half, because memory usage of all the pointers is a small fraction of all that memory), which is over 2GB (which is presumably the address space available there). I will add Windows 64bit binaries to the release shortly. I agree that Guetzli is very wasteful with memory (it keeps multiple unnecessary copies of the whole image). I would very much welcome any PRs that get rid of some of the unnecessary copies of the images or similar things. |
Also, please note that Guetzli assumes that the image will be viewed at a reasonable DPI. If the image will be downsampled before viewing, Guetzli will use up a significant amount of space for the details that will not be visible due to downsampling. |
The use case for me would be to have a tool that converts Lightroom output to an optimized format. |
oduis |
Thanks for the build, Furniel! It works, however after first tests Guetzli is awful slow, even on powerful i7 processor. |
The new release contains 64 bit Windows binaries. |
This should help with google#11 inasmuch as it should make the nature of the problem obvious.
This should help with #11 inasmuch as it should make the nature of the problem obvious.
Reduce memory usage of butteraugli. Addresses #11
The official 1.0 release binary crashes on Windows encoding a 24 MP photo.
It seems like this is a RAM issues, since it quickly eats gigabytes of RAM before crashing.
Is there a 64bit version? And is the RAM usage expected?
The text was updated successfully, but these errors were encountered: